https://github.com/calcuis/ctransformer-core
solo connector core built on ctransformers
https://github.com/calcuis/ctransformer-core
connector core ctransformers gguf llm
Last synced: 3 months ago
JSON representation
solo connector core built on ctransformers
- Host: GitHub
- URL: https://github.com/calcuis/ctransformer-core
- Owner: calcuis
- License: mit
- Created: 2024-02-12T01:49:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-12T20:08:21.000Z (over 1 year ago)
- Last Synced: 2025-02-21T18:02:32.246Z (4 months ago)
- Topics: connector, core, ctransformers, gguf, llm
- Language: C
- Homepage: https://pypi.org/project/ctransformer-core/
- Size: 385 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### ctransformer-core
[
](https://github.com/calcuis/ctransformer-core)
[](https://github.com/calcuis/ctransformer-core/releases)Follow up the stopping updated project ctransformers; continue working on it.
#### install it by (pip/pip3):
```
pip install ctransformers-0.2.28.tar.gz
```
#### run it by (python/python3):
```
python -m ctransformers
```
[](https://github.com/calcuis/llama-core/blob/main/demo.png)
User interfaces are available to choose (eithr CLI or GUI); while chosen, GGUF file(s) in the current directory will be searched and detected.
[
](https://github.com/calcuis/chatgpt-model-selector/blob/main/demo.gif)
This is another solo connector core; same as llama-core; being able to work independently as well.
#### reference
[ctransformers](https://github.com/marella/ctransformers)All other functions are same as ctransformers; please see the reference above.
#### build from ctransformers-0.2.28.tar.gz (examples below are for CPU)
According to the latest note inside vs code, msys64 is recommended by Microsoft; or you can opt w64devkit or etc. as source of your gcc and g++ compilers.
#### for windows user(s):
```
$env:CMAKE_GENERATOR = "MinGW Makefiles"
$env:CMAKE_ARGS = "-DCMAKE_C_COMPILER=C:/msys64/mingw64/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/msys64/mingw64/bin/g++.exe"
pip install ctransformers-0.2.28.tar.gz
```
In mac, xcode command line tools are recommended by Apple for dealing all coding related issue(s); or you can bypass it for your own good/preference.
#### for mac user(s):
```
pip3 install ctransformers-0.2.28.tar.gz
```
Make sure your gcc and g++ are >=11; you can check it by: gcc --version and g++ --version if you opt to build the wheel from source code.