3morixd commited on
Commit
8f9fbab
·
verified ·
1 Parent(s): 73680e1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +2 -5
README.md CHANGED
@@ -23,7 +23,6 @@ pipeline_tag: text-generation
23
  | What is the capital of France? | "The capital of France is Paris. It is not only the largest c" | ✅ |
24
  | What is 2+2? Just the number. | "The sum of 2 and 2 is 4. This is a basic arithmetic operatio" | ✅ |
25
 
26
- **Chat format**: `chatml`
27
 
28
  ## Model Details
29
 
@@ -41,7 +40,7 @@ pipeline_tag: text-generation
41
  ```python
42
  from llama_cpp import Llama
43
 
44
- llm = Llama(model_path="model.gguf", chat_format="chatml", n_ctx=512, n_threads=4)
45
  response = llm.create_chat_completion(
46
  messages=[{"role": "user", "content": "What is the capital of France?"}],
47
  max_tokens=50,
@@ -56,6 +55,4 @@ model = load_model("Phi-3.5-mini-Instruct-mobile", backend="gguf")
56
  print(model.chat("Hello!"))
57
  ```
58
 
59
- ## About dispatchAI
60
-
61
- [dispatchAI](https://huggingface.co/dispatchAI) — Small. Mobile. Free. UAE-built.
 
23
  | What is the capital of France? | "The capital of France is Paris. It is not only the largest c" | ✅ |
24
  | What is 2+2? Just the number. | "The sum of 2 and 2 is 4. This is a basic arithmetic operatio" | ✅ |
25
 
 
26
 
27
  ## Model Details
28
 
 
40
  ```python
41
  from llama_cpp import Llama
42
 
43
+ llm = Llama(model_path="model.gguf", chat_format="chatml", n_ctx=512, n_threads=4, verbose=False)
44
  response = llm.create_chat_completion(
45
  messages=[{"role": "user", "content": "What is the capital of France?"}],
46
  max_tokens=50,
 
55
  print(model.chat("Hello!"))
56
  ```
57
 
58
+ 🚀 [dispatchAI](https://huggingface.co/dispatchAI)