chendren commited on
Commit
005a5bf
·
verified ·
1 Parent(s): be0cea5

Upload pipeline_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. pipeline_config.json +34 -0
pipeline_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pipeline_tag": "text-generation",
3
+ "task": "text-generation",
4
+ "framework": "pytorch",
5
+ "model": {
6
+ "name": "chendren/deepseek-dnd-lora",
7
+ "base_model": "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
8
+ },
9
+ "type": "peft",
10
+ "widget": {
11
+ "examples": [
12
+ {
13
+ "text": "You are a Dungeons & Dragons assistant. Create a D&D character with the following details: Race: Half-Elf, Class: Bard, Background: Entertainer.",
14
+ "title": "D&D Character Creation"
15
+ },
16
+ {
17
+ "text": "You are a Dungeons & Dragons assistant. Design a D&D adventure hook set in a dark forest with a mysterious cult.",
18
+ "title": "Adventure Hook"
19
+ },
20
+ {
21
+ "text": "You are a Dungeons & Dragons assistant. Create a magical item for D&D 5e that would be suitable for a level 5 rogue.",
22
+ "title": "Magic Item"
23
+ }
24
+ ],
25
+ "parameters": {
26
+ "temperature": 0.7,
27
+ "top_p": 0.9,
28
+ "top_k": 50,
29
+ "max_new_tokens": 500,
30
+ "repetition_penalty": 1.1,
31
+ "do_sample": true
32
+ }
33
+ }
34
+ }