Xenova HF staff commited on
Commit
4b9bcd9
·
verified ·
1 Parent(s): ccdd47c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -6,15 +6,15 @@ tags:
6
 
7
  ## Usage (Transformers.js)
8
 
9
- If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@xenova/transformers) using:
10
  ```bash
11
- npm i @xenova/transformers
12
  ```
13
 
14
  You can then use the model to generate text like this:
15
 
16
  ```js
17
- import { pipeline } from "@xenova/transformers";
18
 
19
  // Create a text-generation pipeline
20
  const generator = await pipeline('text-generation', 'Xenova/llama2.c-stories15M');
 
6
 
7
  ## Usage (Transformers.js)
8
 
9
+ If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:
10
  ```bash
11
+ npm i @huggingface/transformers
12
  ```
13
 
14
  You can then use the model to generate text like this:
15
 
16
  ```js
17
+ import { pipeline } from "@huggingface/transformers";
18
 
19
  // Create a text-generation pipeline
20
  const generator = await pipeline('text-generation', 'Xenova/llama2.c-stories15M');