Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,15 @@ using the [t4 dataset](https://huggingface.co/datasets/mlfoundations/t4-full).
|
|
17 |
|
18 |
# Usage and Examples
|
19 |
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
# License and Terms of Use
|
23 |
|
|
|
17 |
|
18 |
# Usage and Examples
|
19 |
|
20 |
+
You can load the model with `transformers` via
|
21 |
+
```
|
22 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
23 |
+
|
24 |
+
tokenizer = AutoTokenizer.from_pretrained("mlfoundations/tabula-8b")
|
25 |
+
model = AutoModelForCausalLM.from_pretrained("mlfoundations/tabula-8b")
|
26 |
+
```
|
27 |
+
|
28 |
+
For more information on how to prepare data and run inference, see the examples in [rtfm](https://github.com/mlfoundations/rtfm).
|
29 |
|
30 |
# License and Terms of Use
|
31 |
|