Skip to content

Commit 97c3fff

Browse files
authored
Merge pull request #162 from f-aguzzi/patch-1
feat: add new hugging_face models
2 parents 739aaa3 + d5547a4 commit 97c3fff

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

scrapegraphai/helpers/models_tokens.py

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,34 @@
7373
"mistral": {
7474
"mistralai/Mistral-7B-Instruct-v0.2": 32000
7575
},
76-
"hugging_face": {}
76+
"hugging_face": {
77+
"meta-llama/Meta-Llama-3-8B": 8192,
78+
"meta-llama/Meta-Llama-3-8B-Instruct": 8192,
79+
"meta-llama/Meta-Llama-3-70B": 8192,
80+
"meta-llama/Meta-Llama-3-70B-Instruct": 8192,
81+
"google/gemma-2b": 8192,
82+
"google/gemma-2b-it": 8192,
83+
"google/gemma-7b": 8192,
84+
"google/gemma-7b-it": 8192,
85+
"microsoft/phi-2": 2048,
86+
"openai-community/gpt2": 1024,
87+
"openai-community/gpt2-medium": 1024,
88+
"openai-community/gpt2-large": 1024,
89+
"facebook/opt-125m": 2048,
90+
"petals-team/StableBeluga2": 8192,
91+
"distilbert/distilgpt2": 1024,
92+
"mistralai/Mistral-7B-Instruct-v0.2": 32768,
93+
"gradientai/Llama-3-8B-Instruct-Gradient-1048k": 1040200,
94+
"NousResearch/Hermes-2-Pro-Llama-3-8B": 8192,
95+
"NousResearch/Hermes-2-Pro-Llama-3-8B-GGUF": 8192,
96+
"nvidia/Llama3-ChatQA-1.5-8B": 8192,
97+
"microsoft/Phi-3-mini-4k-instruct": 4192,
98+
"microsoft/Phi-3-mini-128k-instruct": 131072,
99+
"mlabonne/Meta-Llama-3-120B-Instruct": 8192,
100+
"cognitivecomputations/dolphin-2.9-llama3-8b": 8192,
101+
"cognitivecomputations/dolphin-2.9-llama3-8b-gguf": 8192,
102+
"cognitivecomputations/dolphin-2.8-mistral-7b-v02": 32768,
103+
"cognitivecomputations/dolphin-2.5-mixtral-8x7b": 32768,
104+
"TheBloke/dolphin-2.7-mixtral-8x7b-GGUF": 32768
105+
}
77106
}

0 commit comments

Comments
 (0)