International Rice Research Institute commited on
Commit
a845b93
·
verified ·
1 Parent(s): 738442e

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +7 -56
app.R CHANGED
@@ -36,59 +36,10 @@ print("===================================")
36
  # ============================================================
37
 
38
  available_models <- list(
39
- list(
40
- id = "meta-llama/Llama-3.1-8B-Instruct:sambanova",
41
- label = "Llama 3.1 8B (SambaNova)",
42
- provider = "sambanova",
43
- tier = "free"
44
- ),
45
- list(
46
- id = "meta-llama/Llama-3.3-70B-Instruct:sambanova",
47
- label = "Llama 3.3 70B (SambaNova)",
48
- provider = "sambanova",
49
- tier = "free"
50
- ),
51
- list(
52
- id = "Qwen/Qwen2.5-72B-Instruct:sambanova",
53
- label = "Qwen 2.5 72B (SambaNova)",
54
- provider = "sambanova",
55
- tier = "free"
56
- ),
57
- list(
58
- id = "meta-llama/Llama-3.2-3B-Instruct:together",
59
- label = "Llama 3.2 3B (Together)",
60
- provider = "together",
61
- tier = "free"
62
- ),
63
- list(
64
- id = "Qwen/Qwen2.5-7B-Instruct:together",
65
- label = "Qwen 2.5 7B (Together)",
66
- provider = "together",
67
- tier = "free"
68
- ),
69
-
70
- list(
71
- id = "HuggingFaceTB/SmolLM3-3B:hf-inference",
72
- label = "SmolLM3",
73
- provider = "together",
74
- tier = "free"
75
- ),
76
- list(
77
- id = "deepseek-ai/DeepSeek-V3-0324:sambanova",
78
- label = "Deepseek",
79
- provider = "together",
80
- tier = "free"
81
- ),
82
-
83
- list(
84
- id = "meta-llama/Llama-3.2-3B-Instruct:together",
85
- label = "meta-llma",
86
- provider = "together",
87
- tier = "free"
88
- )
89
-
90
-
91
-
92
  )
93
 
94
  model_choices <- setNames(
@@ -100,11 +51,11 @@ model_choices <- setNames(
100
  # API CONFIGURATION
101
  # ============================================================
102
 
103
- HF_API_TOKEN <- token
104
- HF_API_URL <- "https://router.huggingface.co/v1/chat/completions"
105
 
106
  # Default model
107
- default_model <- "meta-llama/Llama-3.2-3B-Instruct:together"
108
 
109
  # ============================================================
110
  # TEST CONNECTION
 
36
  # ============================================================
37
 
38
  available_models <- list(
39
+ list(id = "llama-3.1-8b-instant", label = "Llama 3.1 8B", provider = "groq", tier = "free"),
40
+ list(id = "llama-3.3-70b-versatile", label = "Llama 3.3 70B", provider = "groq", tier = "free"),
41
+ list(id = "qwen-qwq-32b", label = "Qwen QwQ 32B", provider = "groq", tier = "free"),
42
+ list(id = "deepseek-r1-distill-llama-70b", label = "DeepSeek R1", provider = "groq", tier = "free")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  )
44
 
45
  model_choices <- setNames(
 
51
  # API CONFIGURATION
52
  # ============================================================
53
 
54
+ HF_API_TOKEN <- Sys.getenv("GROQ_API_KEY")
55
+ HF_API_URL <- "https://api.groq.com/openai/v1/chat/completions"
56
 
57
  # Default model
58
+ default_model <- "llama-3.1-8b-instant"
59
 
60
  # ============================================================
61
  # TEST CONNECTION