Havoc999 commited on
Commit
3e75e66
·
verified ·
1 Parent(s): 684bff5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -4
README.md CHANGED
@@ -2,15 +2,12 @@
2
  language:
3
  - en
4
  license: apache-2.0
5
- base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
6
  datasets:
7
  - teknium/OpenHermes-2.5
8
  tags:
9
  - instruction-tuning
10
- - lora
11
  - chatbot
12
  - trl
13
- - peft
14
  - openhermes
15
  pipeline_tag: text-generation
16
  ---
@@ -32,7 +29,7 @@ model = AutoModelForCausalLM.from_pretrained(
32
  ).cuda()
33
  tok = AutoTokenizer.from_pretrained("Havoc999/tiny-openhermes")
34
 
35
- prompt = "<|user|>\\nExplain gravity simply.</s>\\n<|assistant|>\\n"
36
  ids = tok(prompt, return_tensors="pt").input_ids.cuda()
37
  out = model.generate(ids, max_new_tokens=200, temperature=0.7, do_sample=True)
38
  print(tok.decode(out[0, ids.shape:], skip_special_tokens=True))
 
2
  language:
3
  - en
4
  license: apache-2.0
 
5
  datasets:
6
  - teknium/OpenHermes-2.5
7
  tags:
8
  - instruction-tuning
 
9
  - chatbot
10
  - trl
 
11
  - openhermes
12
  pipeline_tag: text-generation
13
  ---
 
29
  ).cuda()
30
  tok = AutoTokenizer.from_pretrained("Havoc999/tiny-openhermes")
31
 
32
+ prompt = "<|user|>\nExplain gravity simply.</s>\n<|assistant|>\n"
33
  ids = tok(prompt, return_tensors="pt").input_ids.cuda()
34
  out = model.generate(ids, max_new_tokens=200, temperature=0.7, do_sample=True)
35
  print(tok.decode(out[0, ids.shape:], skip_special_tokens=True))