s3nh commited on
Commit
7caf38a
1 Parent(s): 3e3b6e7

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: openrail
4
+ pipeline_tag: text-generation
5
+ library_name: transformers
6
+ language:
7
+ - zh
8
+ - en
9
+ ---
10
+
11
+
12
+ ## Original model card
13
+
14
+ Buy me a coffee if you like this project ;)
15
+ <a href="https://www.buymeacoffee.com/s3nh"><img src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg" alt=""></a>
16
+
17
+ #### Description
18
+
19
+ GGML Format model files for [This project](https://huggingface.co/Photolens/OpenOrcaxOpenChat-2-13b-langchain-chat).
20
+
21
+
22
+ ### inference
23
+
24
+
25
+ ```python
26
+
27
+ import ctransformers
28
+
29
+ from ctransformers import AutoModelForCausalLM
30
+
31
+ model = AutoModelForCausalLM.from_pretrained(output_dir, ggml_file,
32
+ gpu_layers=32, model_type="llama")
33
+
34
+ manual_input: str = "Tell me about your last dream, please."
35
+ llm(manual_input,
36
+ max_new_tokens=256,
37
+ temperature=0.9,
38
+ top_p= 0.7)
39
+
40
+ ```
41
+
42
+ # Original model card