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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ We use `pnpm` as our package manager. You need to use it, eg `pnpm install` inst
8
8
9
9
If you want to format the whole codebase, you can do `pnpm -r format` at the root.
10
10
11
-
Otherwise, we avoid runtime dependencies unless they're strictly needed. For example, our only dependency is `hash-wasm`, and it's only in the browser context and when uploaded files are > 10MB.
11
+
Other than that, we avoid runtime dependencies unless they're strictly needed. For example, our only dependency is `hash-wasm`, and it's only in the browser context and when uploaded files are > 10MB.
Copy file name to clipboardExpand all lines: README.md
+3
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,9 @@ This is a collection of JS libraries to interact with the Hugging Face API, with
52
52
-[@huggingface/inference](packages/inference/README.md): Use Inference Endpoints (dedicated) and Inference API (serverless) to make calls to 100,000+ Machine Learning models
53
53
-[@huggingface/hub](packages/hub/README.md): Interact with huggingface.co to create or delete repos and commit / download files
54
54
-[@huggingface/agents](packages/agents/README.md): Interact with HF models through a natural language interface
55
+
-[@huggingface/gguf](packages/gguf/README.md): A GGUF parser that works on remotely hosted files.
56
+
-[@huggingface/tasks](packages/tasks/README.md): The definition files and source-of-truth for the Hub's main primitives like pipeline tasks, model libraries, etc.
57
+
55
58
56
59
57
60
We use modern features to avoid polyfills and dependencies, so the libraries will only work on modern browsers / Node.js >= 18 / Bun / Deno.
This package contains data used for https://huggingface.co/tasks.
3
+
This package contains the definition files (written in Typescript) for the huggingface.co hub's:
4
+
5
+
-**pipeline types** (a.k.a. **task types**) - used to determine which widget to display on the model page, and which inference API to run.
6
+
-**default widget inputs** - when they aren't provided in the model card.
7
+
- definitions and UI elements for **model libraries** (and soon for **dataset libraries**).
8
+
9
+
Please add any missing ones to these definitions by opening a PR. Thanks 🔥
4
10
5
-
## Philosophy behind Tasks
11
+
⚠️ The hub's definitive doc is at https://huggingface.co/docs/hub.
12
+
13
+
## Definition of Tasks
14
+
15
+
This package also contains data used to define https://huggingface.co/tasks.
6
16
7
17
The Task pages are made to lower the barrier of entry to understand a task that can be solved with machine learning and use or train a model to accomplish it. It's a collaborative documentation effort made to help out software developers, social scientists, or anyone with no background in machine learning that is interested in understanding how machine learning models can be used to solve a problem.
8
18
@@ -19,16 +29,4 @@ We have a [`dataset`](https://huggingface.co/datasets/huggingfacejs/tasks) that
19
29
20
30
This might seem overwhelming, but you don't necessarily need to add all of these in one pull request or on your own, you can simply contribute one section. Feel free to ask for help whenever you need.
21
31
22
-
## Other data
23
-
24
-
This package contains the definition files (written in Typescript) for the huggingface.co hub's:
25
-
26
-
-**pipeline types** a.k.a. **task types** (used to determine which widget to display on the model page, and which inference API to run)
27
-
-**default widget inputs** (when they aren't provided in the model card)
28
-
- definitions and UI elements for **model libraries** (and soon for **dataset libraries**).
29
-
30
-
Please add to any of those definitions by opening a PR. Thanks 🔥
31
-
32
-
⚠️ The hub's definitive doc is at https://huggingface.co/docs/hub.
33
-
34
32
## Feedback (feature requests, bugs, etc.) is super welcome 💙💚💛💜♥️🧡
0 commit comments