VTSNLP commited on
Commit
d9ba105
·
verified ·
1 Parent(s): c4bfff1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -11
README.md CHANGED
@@ -35,17 +35,17 @@ Llama3-ViettelSolution-8B is a variant of the Meta Llama-3-8B model, continued p
35
 
36
  Example snippet for usage with Transformers:
37
 
38
- '''
39
- import transformers
40
- import torch
41
-
42
- model_id = "VTSNLP/Llama3-ViettelSolution-8B"
43
-
44
- pipeline = transformers.pipeline(
45
- "text-generation", model=model_id, model_kwargs={"torch_dtype": torch.bfloat16}, device_map="auto"
46
- )
47
- pipeline("Xin chào!")
48
- '''
49
 
50
 
51
  ## Training Details
 
35
 
36
  Example snippet for usage with Transformers:
37
 
38
+ ```
39
+ import transformers
40
+ import torch
41
+
42
+ model_id = "VTSNLP/Llama3-ViettelSolution-8B"
43
+
44
+ pipeline = transformers.pipeline(
45
+ "text-generation", model=model_id, model_kwargs={"torch_dtype": torch.bfloat16}, device_map="auto"
46
+ )
47
+ pipeline("Xin chào!")
48
+ ```
49
 
50
 
51
  ## Training Details