nsarrazin HF Staff commited on
Commit
4fe6215
·
1 Parent(s): 43292aa

chores: update default model

Browse files
Files changed (1) hide show
  1. .env +2 -15
.env CHANGED
@@ -79,21 +79,8 @@ TEXT_EMBEDDING_MODELS = `[
79
  # 'name', 'userMessageToken', 'assistantMessageToken' are required
80
  MODELS=`[
81
  {
82
- "name": "mistralai/Mistral-7B-Instruct-v0.1",
83
- "displayName": "mistralai/Mistral-7B-Instruct-v0.1",
84
- "description": "Mistral 7B is a new Apache 2.0 model, released by Mistral AI that outperforms Llama2 13B in benchmarks.",
85
- "websiteUrl": "https://mistral.ai/news/announcing-mistral-7b/",
86
- "preprompt": "",
87
- "chatPromptTemplate" : "<s>{{#each messages}}{{#ifUser}}[INST] {{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}}{{content}} [/INST]{{/ifUser}}{{#ifAssistant}}{{content}}</s>{{/ifAssistant}}{{/each}}",
88
- "parameters": {
89
- "temperature": 0.1,
90
- "top_p": 0.95,
91
- "repetition_penalty": 1.2,
92
- "top_k": 50,
93
- "truncate": 3072,
94
- "max_new_tokens": 1024,
95
- "stop": ["</s>"]
96
- },
97
  "promptExamples": [
98
  {
99
  "title": "Write an email from bullet list",
 
79
  # 'name', 'userMessageToken', 'assistantMessageToken' are required
80
  MODELS=`[
81
  {
82
+ "name": "HuggingFaceTB/SmolLM2-1.7B-Instruct",
83
+ "description": "SmolLM2-1.7B is the latest lightweight model from the Hugging Face TB Research team.",
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  "promptExamples": [
85
  {
86
  "title": "Write an email from bullet list",