mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-18 00:03:40 -04:00
Compare commits
2 Commits
a69d23ecc4
...
b6e38d69ed
Author | SHA1 | Date | |
---|---|---|---|
|
b6e38d69ed | ||
|
707b91a24f |
@ -47,6 +47,15 @@ output = model.generate("The capital of France is ", max_tokens=3)
|
||||
print(output)
|
||||
```
|
||||
|
||||
|
||||
GPU Usage
|
||||
```python
|
||||
from gpt4all import GPT4All
|
||||
model = GPT4All("orca-mini-3b.ggmlv3.q4_0.bin", device='gpu') # device='amd', device='intel'
|
||||
output = model.generate("The capital of France is ", max_tokens=3)
|
||||
print(output)
|
||||
```
|
||||
|
||||
## Troubleshooting a Local Build
|
||||
- If you're on Windows and have compiled with a MinGW toolchain, you might run into an error like:
|
||||
```
|
||||
|
@ -61,10 +61,10 @@ copy_prebuilt_C_lib(SRC_CLIB_DIRECtORY,
|
||||
|
||||
setup(
|
||||
name=package_name,
|
||||
version="1.0.8",
|
||||
version="1.0.9",
|
||||
description="Python bindings for GPT4All",
|
||||
author="Richard Guo",
|
||||
author_email="richard@nomic.ai",
|
||||
author="Nomic and the Open Source Community",
|
||||
author_email="support@nomic.ai",
|
||||
url="https://pypi.org/project/gpt4all/",
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user