update(README): remove `trust_remote_code` snippet require
Browse files
README.md
CHANGED
@@ -40,7 +40,6 @@ tokenizer = AutoTokenizer.from_pretrained('stabilityai/stablelm-2-1_6b-chat')
|
|
40 |
model = AutoModelForCausalLM.from_pretrained(
|
41 |
'stabilityai/stablelm-2-1_6b-chat',
|
42 |
device_map="auto",
|
43 |
-
trust_remote_code=True,
|
44 |
)
|
45 |
|
46 |
prompt = [{'role': 'user', 'content': 'Implement snake game using pygame'}]
|
|
|
40 |
model = AutoModelForCausalLM.from_pretrained(
|
41 |
'stabilityai/stablelm-2-1_6b-chat',
|
42 |
device_map="auto",
|
|
|
43 |
)
|
44 |
|
45 |
prompt = [{'role': 'user', 'content': 'Implement snake game using pygame'}]
|