Sarah Ciston
commited on
Commit
·
2abce08
1
Parent(s):
aa77cec
update model list
Browse files
README.md
CHANGED
@@ -8,8 +8,8 @@ pinned: false
|
|
8 |
models:
|
9 |
# - Xenova/detr-resnet-50
|
10 |
- Xenova/gpt2
|
11 |
-
- Xenova/LaMini-Flan-T5-783M
|
12 |
-
|
13 |
# - meta-llama/Meta-Llama-3-8B
|
14 |
---
|
15 |
|
|
|
8 |
models:
|
9 |
# - Xenova/detr-resnet-50
|
10 |
- Xenova/gpt2
|
11 |
+
# - Xenova/LaMini-Flan-T5-783M
|
12 |
+
- mistralai/Mistral-7B-Instruct-v0.2
|
13 |
# - meta-llama/Meta-Llama-3-8B
|
14 |
---
|
15 |
|
sketch.js
CHANGED
@@ -2,7 +2,7 @@ import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers
|
|
2 |
// import { HfInference } from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected]/+esm';
|
3 |
// const inference = new HfInference();
|
4 |
|
5 |
-
let pipe = await pipeline('text-generation'
|
6 |
// models('Xenova/gpt2', 'mistralai/Mistral-7B-Instruct-v0.2', 'meta-llama/Meta-Llama-3-8B')
|
7 |
// list of models by task: 'https://huggingface.co/docs/transformers.js/index#supported-tasksmodels'
|
8 |
|
|
|
2 |
// import { HfInference } from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected]/+esm';
|
3 |
// const inference = new HfInference();
|
4 |
|
5 |
+
let pipe = await pipeline('text-generation');
|
6 |
// models('Xenova/gpt2', 'mistralai/Mistral-7B-Instruct-v0.2', 'meta-llama/Meta-Llama-3-8B')
|
7 |
// list of models by task: 'https://huggingface.co/docs/transformers.js/index#supported-tasksmodels'
|
8 |
|