Skip to content

Commit

Permalink
Update README.md (#11964)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-dai authored Aug 29, 2024
1 parent 14b2c8d commit 431affd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/llm/example/NPU/HF-Transformers-AutoModels/LLM/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Run Large Language Model on Intel NPU
In this directory, you will find examples on how you could apply IPEX-LLM INT4 or INT8 optimizations on LLM models on [Intel NPUs](../../../README.md). See the table blow for verified models.
# Run HuggingFace `transformers` Models on Intel NPU
In this directory, you will find examples on how to directly run HuggingFace `transformers` models on Intel NPUs (leveraging *Intel NPU Acceleration Library*). See the table blow for verified models.

## Verified Models

Expand Down Expand Up @@ -52,7 +52,7 @@ For optimal performance, it is recommended to set several environment variables.
set BIGDL_USE_NPU=1
```
## 3. Run models
## 3. Run Models
In the example [generate.py](./generate.py), we show a basic use case for a Llama2 model to predict the next N tokens using `generate()` API, with IPEX-LLM INT4 optimizations on Intel NPUs.

```
Expand All @@ -77,7 +77,7 @@ done
```

## 4. Run Optimized Models (Experimental)
The example below shows how to run the **_optimized model implementations_** on Intel NPU, including
The examples below show how to run the **_optimized HuggingFace model implementations_** on Intel NPU, including
- [Llama2-7B](./llama.py)
- [Llama3-8B](./llama.py)
- [Qwen2-1.5B](./qwen2.py)
Expand All @@ -92,7 +92,7 @@ Supported models: Llama2-7B, Qwen2-1.5B, Qwen2-7B, MiniCPM-1B, Baichuan2-7B
#### 32.0.101.2715
Supported models: Llama3-8B, MiniCPM-2B

### Run Models
### Run
```bash
# to run Llama-2-7b-chat-hf
python llama.py
Expand Down

0 comments on commit 431affd

Please sign in to comment.