FlameF0X commited on
Commit
5c1cb7f
·
verified ·
1 Parent(s): d2e9112

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -2
README.md CHANGED
@@ -34,13 +34,33 @@ This model is designed for text generation tasks with a focus on reasoning throu
34
  - May produce unstable or inconsistent outputs
35
  - Not suitable for production use without further testing
36
 
 
 
37
  ## Usage
38
 
39
- The model can be loaded using the Transformers library:
 
 
40
 
41
  ```python
42
  from transformers import AutoModelForCausalLM, AutoTokenizer
43
 
44
  model = AutoModelForCausalLM.from_pretrained("GoofyLM/N1")
45
  tokenizer = AutoTokenizer.from_pretrained("GoofyLM/N1")
46
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  - May produce unstable or inconsistent outputs
35
  - Not suitable for production use without further testing
36
 
37
+ ---
38
+
39
  ## Usage
40
 
41
+ The model can be loaded using the following:
42
+
43
+ ### Transformers:
44
 
45
  ```python
46
  from transformers import AutoModelForCausalLM, AutoTokenizer
47
 
48
  model = AutoModelForCausalLM.from_pretrained("GoofyLM/N1")
49
  tokenizer = AutoTokenizer.from_pretrained("GoofyLM/N1")
50
+ ```
51
+
52
+ ### llama-cpp-python:
53
+
54
+ ```python
55
+ from llama_cpp import Llama
56
+
57
+ llm = Llama.from_pretrained(
58
+ repo_id="GoofyLM/N1",
59
+ filename="GoofyLM-N1.gguf",
60
+ )
61
+ ```
62
+
63
+ ### Ollama:
64
+ ```python
65
+ ollama run hf.co/GoofyLM/N1
66
+ ```