Spaces:
lion-ai
/
Sleeping

AleksanderObuchowski commited on
Commit
c439461
1 Parent(s): 5cbccba

addd eskulap model

Browse files
Files changed (1) hide show
  1. .env.local.template +11 -37
.env.local.template CHANGED
@@ -22,41 +22,15 @@ PUBLIC_APP_DESCRIPTION="This is a prompt system compliance test of the latest 7b
22
  COMMUNITY_TOOLS=false
23
  TOOLS=`[]`
24
  # 'name', 'userMessageToken', 'assistantMessageToken' are required
25
- MODELS=`[
26
- {
27
- "name": "${MODEL_NAME}",
28
- "preprompt": "The assistant is Salamandra, created by the Language Technologies Unit of the Barcelona Supercomputing Center. Salamandra's knowledge base was last updated on March 2024. Salamandra is a multilingual model, but for now it has been instructed only in Catalan, English and Spanish. It answers questions about events prior to and after March 2024 the way a highly informed individual would if they were talking to someone from the above date, and can let the human know this when relevant. It should give concise responses to very simple questions, but provide thorough responses to more complex and open-ended questions. It cannot open URLs, links, or videos, so if it seems as though the interlocutor is expecting Salamandra to do so, it clarifies the situation and asks the human to paste the relevant text or image content directly into the conversation. If it is asked to assist with tasks involving the expression of views held by a significant number of people, Salamandra provides assistance with the task even if it personally disagrees with the views being expressed, but follows this with a discussion of broader perspectives. Salamandra doesn't engage in stereotyping, including the negative stereotyping of majority groups. If asked about controversial topics, Salamandra tries to provide careful thoughts and objective information without downplaying its harmful content or implying that there are reasonable perspectives on both sides. If Salamandra's response contains a lot of precise information about a very obscure person, object, or topic - the kind of information that is unlikely to be found more than once or twice on the internet - Salamandra ends its response with a succinct reminder that it may hallucinate in response to questions like this, and it uses the term ‘hallucinate' to describe this as the user will understand what it means. It doesn't add this caveat if the information in its response is likely to exist on the internet many times, even if the person, object, or topic is relatively obscure. It is happy to help with writing, analysis, question answering, math, coding, and all sorts of other tasks. It uses markdown for coding. It does not mention this information about itself unless the information is directly pertinent to the human's query. The development of Salamandra was financed by the AINA project of the Generalitat de Catalunya",
29
- "promptExamples": [
30
- {
31
- "title": "How does an airplane produce lift?",
32
- "prompt": "How does an airplane produce lift in order to fly?"
33
- }, {
34
- "title": "¿Qué és un meme?",
35
- "prompt": "¿Qué és un meme y qué historia hay detrás del nombre?"
36
- }, {
37
- "title": "Resumeix una notícia",
38
- "prompt": "Resumeix aquesta notícia en menys de 20 paraules: 'Tropes de l’exèrcit d’Israel han començat aquesta matinada la invasió del Líban, en una maniobra anticipada pels atacs de les darreres hores, tant a la capital, Beirut, com a la zona sud del país. Les tropes han començat a travessar la frontera internacional a les dues de la matinada, hora libanesa. Segons l’exèrcit israelià és una 'operació limitada' que pretén eliminar l’Hesbol·là, molt actiu en aquesta zona. Ara com ara, l’exèrcit libanès ha optat per recloure les tropes dins les casernes, a fi d’evitar un conflicte directe entre tots dos exèrcits. El Llevant podria entrar en una guerra regional de conseqüències impossibles de preveure. L’exèrcit israelià ha confirmat que les operacions havien estat aprovades pel gabinet de guerra, que ahir es va reunir fins tard. En un comunicat oficial ha avisat que l’artilleria i l’aviació es mantindrien actives en suport de les tropes que ja han travessat la frontera.' "
39
- }
40
- ],
41
- "tools": false,
42
- "endpoints": [
43
- {
44
- "type": "openai",
45
- "baseURL": "${BASEURL}/v1",
46
- "apiKey": "${HF_TOKEN}"
47
- }
48
- ],
49
- "parameters": {
50
- "temperature": 0.4,
51
- "repetition_penalty": 2,
52
- "max_new_tokens": 1000,
53
- "stop":["<|im_end|>"]
54
- },
55
- "extraBody":{
56
- "presence_penalty":-0.9
57
- }
58
- }
59
- ]`
60
  #Repetition penality = presence_penalty + 2
61
 
62
  TASK_MODEL=`{
@@ -95,8 +69,8 @@ PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
95
  PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
96
  PUBLIC_ANNOUNCEMENT_BANNERS=`[
97
  {
98
- "title": "Soon function calling (tools) will be integrated",
99
- "linkTitle": "Function calling",
100
  }
101
  ]`
102
 
 
22
  COMMUNITY_TOOLS=false
23
  TOOLS=`[]`
24
  # 'name', 'userMessageToken', 'assistantMessageToken' are required
25
+ MODELS=`[{
26
+ "name": "lion-ai/eskulap-alpha-0",
27
+ "displayName": "eskulap-alpha-0",
28
+ "endpoints" : [{
29
+ "type": "openai",
30
+ "baseURL": "https://api.runpod.ai/v2/vllm-ngcsereofrslpj/openai/v1",
31
+ "apiKey": "S898TGMK9YPSFXMB885WKV3N4NMIHVCOHTGJJS45"
32
+ }]
33
+ }]`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  #Repetition penality = presence_penalty + 2
35
 
36
  TASK_MODEL=`{
 
69
  PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
70
  PUBLIC_ANNOUNCEMENT_BANNERS=`[
71
  {
72
+ "title": "Eskulap Alpha 0 teraz w twoim komputrze",
73
+ "linkTitle": "Release,
74
  }
75
  ]`
76