You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the list of all tasks and architectures currently supported by Transformers.js.
54
44
If you don't see your task/model listed here or it is not yet supported, feel free
55
-
to open up a feature request [here](https://github.com/xenova/transformers.js/issues/new/choose).
45
+
to open up a feature request [here](https://github.com/huggingface/transformers.js/issues/new/choose).
56
46
57
47
To find compatible models on the Hub, select the "transformers.js" library tag in the filter menu (or visit [this link](https://huggingface.co/models?library=transformers.js)).
58
48
You can refine your search by selecting the task you're interested in (e.g., [text-classification](https://huggingface.co/models?pipeline_tag=text-classification&library=transformers.js)).
Copy file name to clipboardExpand all lines: docs/snippets/0_introduction.snippet
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
2
-
State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
2
+
<h3 align="center">
3
+
<p>State-of-the-art Machine Learning for the Web</p>
4
+
</h3>
5
+
6
+
Run 🤗 Transformers directly in your browser, with no need for a server!
3
7
4
8
Transformers.js is designed to be functionally equivalent to Hugging Face's [transformers](https://github.com/huggingface/transformers) python library, meaning you can run the same pretrained models using a very similar API. These models support common tasks in different modalities, such as:
5
9
- 📝 **Natural Language Processing**: text classification, named entity recognition, question answering, language modeling, summarization, translation, multiple choice, and text generation.
Copy file name to clipboardExpand all lines: docs/snippets/2_installation.snippet
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ npm i @huggingface/transformers
7
7
Alternatively, you can use it in vanilla JS, without any bundler, by using a CDN or static hosting. For example, using [ES Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), you can import the library with:
8
8
```html
9
9
<script type="module">
10
-
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected].0-alpha.20';
10
+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected].2';
0 commit comments