efromomr commited on
Commit
2170c3f
·
verified ·
1 Parent(s): ac7cb69

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -23,7 +23,7 @@ TinyLlama/TinyLlama-1.1B-Chat-v1.0 finetuned on cardiffnlp/tweet_eval for sentim
23
 
24
  Use the code below to get started with the model.
25
 
26
- Python
27
 
28
  model = AutoModelForCausalLM.from_pretrained(f"efromomr/llm-course-hw3-tinyllama-qlora", device_map="auto")
29
  tokenizer = AutoTokenizer.from_pretrained(f"efromomr/llm-course-hw3-tinyllama-qlora")
@@ -36,7 +36,7 @@ output_ids = model.generate(input_ids, max_new_tokens=16)
36
  generated_text = tokenizer.decode(output_ids[0][len(input_ids[0]) :], skip_special_tokens=True)
37
  print(generated_text)
38
  #positive
39
-
40
 
41
  ## Training Details
42
 
 
23
 
24
  Use the code below to get started with the model.
25
 
26
+ ```python
27
 
28
  model = AutoModelForCausalLM.from_pretrained(f"efromomr/llm-course-hw3-tinyllama-qlora", device_map="auto")
29
  tokenizer = AutoTokenizer.from_pretrained(f"efromomr/llm-course-hw3-tinyllama-qlora")
 
36
  generated_text = tokenizer.decode(output_ids[0][len(input_ids[0]) :], skip_special_tokens=True)
37
  print(generated_text)
38
  #positive
39
+ ```
40
 
41
  ## Training Details
42