Update README.md
Browse files
README.md
CHANGED
@@ -6,9 +6,48 @@ colorTo: blue
|
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
license: apache-2.0
|
9 |
-
thumbnail:
|
|
|
10 |
models:
|
11 |
-
- HuggingFaceTB/SmolVLM-256M-Instruct
|
12 |
---
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
license: apache-2.0
|
9 |
+
thumbnail: >-
|
10 |
+
https://huggingface.co/spaces/HuggingFaceTB/SmolVLM-256M-Instruct-WebGPU/resolve/main/banner.png
|
11 |
models:
|
12 |
+
- HuggingFaceTB/SmolVLM-256M-Instruct
|
13 |
---
|
14 |
|
15 |
+
# SmolVLM WebGPU
|
16 |
+
|
17 |
+
## Getting Started
|
18 |
+
|
19 |
+
Follow the steps below to set up and run the application.
|
20 |
+
|
21 |
+
### 1. Clone the Repository
|
22 |
+
|
23 |
+
Clone the examples repository from GitHub:
|
24 |
+
|
25 |
+
```sh
|
26 |
+
git clone https://github.com/huggingface/transformers.js-examples.git
|
27 |
+
```
|
28 |
+
|
29 |
+
### 2. Navigate to the Project Directory
|
30 |
+
|
31 |
+
Change your working directory to the `smolvlm-webgpu` folder:
|
32 |
+
|
33 |
+
```sh
|
34 |
+
cd transformers.js-examples/smolvlm-webgpu
|
35 |
+
```
|
36 |
+
|
37 |
+
### 3. Install Dependencies
|
38 |
+
|
39 |
+
Install the necessary dependencies using npm:
|
40 |
+
|
41 |
+
```sh
|
42 |
+
npm i
|
43 |
+
```
|
44 |
+
|
45 |
+
### 4. Run the Development Server
|
46 |
+
|
47 |
+
Start the development server:
|
48 |
+
|
49 |
+
```sh
|
50 |
+
npm run dev
|
51 |
+
```
|
52 |
+
|
53 |
+
The application should now be running locally. Open your browser and go to `http://localhost:5173` to see it in action.
|