Update README.md
Browse files
README.md
CHANGED
@@ -5,9 +5,4 @@ messages = [
|
|
5 |
{"role": "user", "content": "Who are you?"},
|
6 |
]
|
7 |
pipe = pipeline("text-generation", model="mistralai/Mixtral-8x7B-Instruct-v0.1")
|
8 |
-
pipe(messages)
|
9 |
-
# Load model directly
|
10 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM
|
11 |
-
|
12 |
-
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
13 |
-
model = AutoModelForCausalLM.from_pretrained("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
|
|
5 |
{"role": "user", "content": "Who are you?"},
|
6 |
]
|
7 |
pipe = pipeline("text-generation", model="mistralai/Mixtral-8x7B-Instruct-v0.1")
|
8 |
+
pipe(messages)
|
|
|
|
|
|
|
|
|
|