Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change 2gb --> 2b #40

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ model is not included in the repository due to its size, but you can download it
using the following command:

```shell
humanify download 2gb
humanify download 2b
```

This downloads the `2gb` model to your local machine. This is only needed to do
This downloads the `2b` model to your local machine. This is only needed to do
once. You can also choose to download other models depending on your local
resources. List the available models using `humanify download`.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint:prettier": "prettier --check src/* src/**/*",
"lint:eslint": "eslint src/* src/**/*",
"download-ci-model": "npx humanify download 2gb"
"download-ci-model": "npx humanify download 2b"
},
"bin": {
"humanify": "dist/index.mjs"
Expand Down
2 changes: 1 addition & 1 deletion src/local-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const MODEL_DIRECTORY = join(homedir(), ".humanifyjs", "models");
type ModelDefinition = { url: URL; wrapper?: ChatWrapper };

export const MODELS: { [modelName: string]: ModelDefinition } = {
"2gb": {
"2b": {
url: url`https://huggingface.co/bartowski/Phi-3.1-mini-4k-instruct-GGUF/resolve/main/Phi-3.1-mini-4k-instruct-Q4_K_M.gguf?download=true`
},
"8b": {
Expand Down