Limour commited on
Commit
7d38177
1 Parent(s): e653251

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +3 -3
  2. requirements.txt +1 -1
  3. rp_config.json +4 -1
app.py CHANGED
@@ -3,12 +3,12 @@ import select
3
  import os
4
  from mods.btn_reset import restart_space
5
 
6
- if not os.path.exists('downloads/causallm_7b.Q5_K_M.gguf'):
7
  from huggingface_hub import snapshot_download
8
  os.mkdir("downloads")
9
  os.mkdir("cache")
10
- snapshot_download(repo_id='TheBloke/CausalLM-7B-GGUF', local_dir=r'downloads',
11
- allow_patterns='causallm_7b.Q5_K_M.gguf')
12
  snapshot_download(repo_id='Limour/llama-python-streamingllm-cache', repo_type='dataset', local_dir=r'cache')
13
 
14
  try:
 
3
  import os
4
  from mods.btn_reset import restart_space
5
 
6
+ if not os.path.exists('downloads/causallm_14b.IQ3_XS.gguf'):
7
  from huggingface_hub import snapshot_download
8
  os.mkdir("downloads")
9
  os.mkdir("cache")
10
+ snapshot_download(repo_id='Limour/CausalLM-14B-GGUF', local_dir=r'downloads',
11
+ allow_patterns='causallm_14b.IQ3_XS.gguf')
12
  snapshot_download(repo_id='Limour/llama-python-streamingllm-cache', repo_type='dataset', local_dir=r'cache')
13
 
14
  try:
requirements.txt CHANGED
@@ -1 +1 @@
1
- llama-cpp-python==0.2.39
 
1
+ llama-cpp-python==0.2.57
rp_config.json CHANGED
@@ -1,6 +1,9 @@
1
  {
2
  "setting_path": {
3
- "value": "downloads/causallm_7b.Q5_K_M.gguf"
 
 
 
4
  },
5
  "role_usr": {
6
  "value": "无忌"
 
1
  {
2
  "setting_path": {
3
+ "value": "downloads/causallm_14b.IQ3_XS.gguf"
4
+ },
5
+ "setting_ctx": {
6
+ "value": 4096
7
  },
8
  "role_usr": {
9
  "value": "无忌"