Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,7 @@ SambaLingo-Turkish-Chat is a human aligned chat model trained in Turkish and Eng
|
|
29 |
|
30 |
## Getting Started
|
31 |
|
32 |
-
### Loading
|
33 |
```python
|
34 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
35 |
|
@@ -37,7 +37,7 @@ tokenizer = AutoTokenizer.from_pretrained("sambanovasystems/SambaLingo-Turkish-C
|
|
37 |
model = AutoModelForCausalLM.from_pretrained("sambanovasystems/SambaLingo-Turkish-Chat", device_map="auto", torch_dtype="auto")
|
38 |
```
|
39 |
|
40 |
-
### Interacting
|
41 |
```python
|
42 |
from transformers import pipeline
|
43 |
pipe = pipeline("text-generation", model="sambanovasystems/SambaLingo-Turkish-Chat", device_map="auto", use_fast=False)
|
|
|
29 |
|
30 |
## Getting Started
|
31 |
|
32 |
+
### Loading Model With Hugging Face
|
33 |
```python
|
34 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
35 |
|
|
|
37 |
model = AutoModelForCausalLM.from_pretrained("sambanovasystems/SambaLingo-Turkish-Chat", device_map="auto", torch_dtype="auto")
|
38 |
```
|
39 |
|
40 |
+
### Interacting With Model Pipeline
|
41 |
```python
|
42 |
from transformers import pipeline
|
43 |
pipe = pipeline("text-generation", model="sambanovasystems/SambaLingo-Turkish-Chat", device_map="auto", use_fast=False)
|