Update README.md
Browse files
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 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
---
|