Safetensors
English
llama
Nessii013 commited on
Commit
8a9caae
ยท
verified ยท
1 Parent(s): 52ed9af

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -5
README.md CHANGED
@@ -71,7 +71,7 @@ CALM-8B is trained on a **multi-task dataset** covering dialogue state tracking,
71
 
72
  ---
73
  ## Usage
74
- ### ๐Ÿ— How to Load the Model
75
  ```python
76
  from transformers import AutoModelForCausalLM, AutoTokenizer
77
 
@@ -79,10 +79,20 @@ tokenizer = AutoTokenizer.from_pretrained("uiuc-convai/CALM-8B")
79
  model = AutoModelForCausalLM.from_pretrained("uiuc-convai/CALM-8B")
80
  ```
81
 
82
- <!-- TODO -->
83
- ### ๐Ÿ›  Example Inference
84
- ```python
85
- TODO
 
 
 
 
 
 
 
 
 
 
86
  ```
87
 
88
  ---
 
71
 
72
  ---
73
  ## Usage
74
+ ### ๐Ÿ— How to Load the Model using Transformers
75
  ```python
76
  from transformers import AutoModelForCausalLM, AutoTokenizer
77
 
 
79
  model = AutoModelForCausalLM.from_pretrained("uiuc-convai/CALM-8B")
80
  ```
81
 
82
+ ### ๐Ÿ›  Example Oumi Inference
83
+ ```bash
84
+ pip install oumi
85
+
86
+ # See oumi_infer.yaml in this model's /oumi/ directory.
87
+ oumi infer -i -c ./oumi_infer.yaml
88
+ ```
89
+
90
+ ### ๐Ÿ›  Example Oumi Fine-Tuning
91
+ ```bash
92
+ pip install oumi
93
+
94
+ # See oumi_train.yaml in this model's /oumi/ directory.
95
+ oumi train -c ./oumi_train.yaml
96
  ```
97
 
98
  ---