mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-18 00:03:40 -04:00
Compare commits
No commits in common. "b6e38d69eda9920f4fddb438093e02f88aa3cf60" and "a69d23ecc4f6a07a10cd20c06442f88bfe73d8ac" have entirely different histories.
b6e38d69ed
...
a69d23ecc4
@ -47,15 +47,6 @@ output = model.generate("The capital of France is ", max_tokens=3)
|
|||||||
print(output)
|
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
|
## Troubleshooting a Local Build
|
||||||
- If you're on Windows and have compiled with a MinGW toolchain, you might run into an error like:
|
- 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(
|
setup(
|
||||||
name=package_name,
|
name=package_name,
|
||||||
version="1.0.9",
|
version="1.0.8",
|
||||||
description="Python bindings for GPT4All",
|
description="Python bindings for GPT4All",
|
||||||
author="Nomic and the Open Source Community",
|
author="Richard Guo",
|
||||||
author_email="support@nomic.ai",
|
author_email="richard@nomic.ai",
|
||||||
url="https://pypi.org/project/gpt4all/",
|
url="https://pypi.org/project/gpt4all/",
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user