Spaces:
Sleeping
Sleeping
Delete Text
Browse files
Text
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
2 |
-
|
3 |
-
# Load the model and tokenizer
|
4 |
-
model_name = "Ransss/llama3-8B-DarkIdol-2.0-Uncensored-Q8_0-GGUF"
|
5 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
6 |
-
model = AutoModelForCausalLM.from_pretrained(model_name, load_in_8bit=True)
|
7 |
-
|
8 |
-
# Now you can use the model and tokenizer for your generation task
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|