Update README.md
Browse files
README.md
CHANGED
@@ -36,14 +36,14 @@ You can use the model with a pipeline for a high-level helper or load the model
|
|
36 |
```python
|
37 |
# Use a pipeline as a high-level helper
|
38 |
from transformers import pipeline
|
39 |
-
pipe = pipeline("question-answering", model="asif00/bangla-llama
|
40 |
```
|
41 |
|
42 |
```python
|
43 |
# Load model directly
|
44 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
45 |
-
tokenizer = AutoTokenizer.from_pretrained("asif00/bangla-llama
|
46 |
-
model = AutoModelForCausalLM.from_pretrained("asif00/bangla-llama
|
47 |
```
|
48 |
|
49 |
# General Prompt Structure:
|
|
|
36 |
```python
|
37 |
# Use a pipeline as a high-level helper
|
38 |
from transformers import pipeline
|
39 |
+
pipe = pipeline("question-answering", model="asif00/bangla-llama")
|
40 |
```
|
41 |
|
42 |
```python
|
43 |
# Load model directly
|
44 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
45 |
+
tokenizer = AutoTokenizer.from_pretrained("asif00/bangla-llama")
|
46 |
+
model = AutoModelForCausalLM.from_pretrained("asif00/bangla-llama")
|
47 |
```
|
48 |
|
49 |
# General Prompt Structure:
|