geoffrey-llm 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geoffrey_llm-0.0.1/LICENSE +21 -0
- geoffrey_llm-0.0.1/PKG-INFO +84 -0
- geoffrey_llm-0.0.1/README.md +48 -0
- geoffrey_llm-0.0.1/geoffrey_llm/__init__.py +9 -0
- geoffrey_llm-0.0.1/geoffrey_llm/core.py +16 -0
- geoffrey_llm-0.0.1/geoffrey_llm.egg-info/PKG-INFO +84 -0
- geoffrey_llm-0.0.1/geoffrey_llm.egg-info/SOURCES.txt +12 -0
- geoffrey_llm-0.0.1/geoffrey_llm.egg-info/dependency_links.txt +1 -0
- geoffrey_llm-0.0.1/geoffrey_llm.egg-info/entry_points.txt +2 -0
- geoffrey_llm-0.0.1/geoffrey_llm.egg-info/requires.txt +15 -0
- geoffrey_llm-0.0.1/geoffrey_llm.egg-info/top_level.txt +1 -0
- geoffrey_llm-0.0.1/pyproject.toml +53 -0
- geoffrey_llm-0.0.1/setup.cfg +4 -0
- geoffrey_llm-0.0.1/tests/test_basic.py +10 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Geoffrey
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: geoffrey-llm
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A lightweight toolkit for LLM fine-tuning, inference optimization, and agent development
|
|
5
|
+
Author-email: Geoffrey <your.email@example.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/yourusername/geoffrey-llm
|
|
8
|
+
Project-URL: Issues, https://github.com/yourusername/geoffrey-llm/issues
|
|
9
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: requests>=2.25.0
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
26
|
+
Requires-Dist: black; extra == "dev"
|
|
27
|
+
Requires-Dist: ruff; extra == "dev"
|
|
28
|
+
Provides-Extra: finetune
|
|
29
|
+
Requires-Dist: torch>=2.0; extra == "finetune"
|
|
30
|
+
Requires-Dist: transformers>=4.30; extra == "finetune"
|
|
31
|
+
Requires-Dist: peft>=0.5; extra == "finetune"
|
|
32
|
+
Provides-Extra: inference
|
|
33
|
+
Requires-Dist: vllm>=0.3.0; extra == "inference"
|
|
34
|
+
Requires-Dist: llama-cpp-python; extra == "inference"
|
|
35
|
+
Dynamic: license-file
|
|
36
|
+
|
|
37
|
+
# geoffrey-llm
|
|
38
|
+
|
|
39
|
+
[](https://pypi.org/project/geoffrey-llm/)
|
|
40
|
+
[](https://www.python.org/downloads/)
|
|
41
|
+
|
|
42
|
+
A lightweight toolkit for LLM fine-tuning, inference optimization, and agent development.
|
|
43
|
+
|
|
44
|
+
> ⚠️ **Note**: This package is currently in early development (v0.0.1). APIs will change frequently.
|
|
45
|
+
|
|
46
|
+
## Planned Features
|
|
47
|
+
|
|
48
|
+
- [ ] Simplified LoRA/QLoRA fine-tuning interface
|
|
49
|
+
- [ ] Unified inference backend (vLLM, llama.cpp, TensorRT)
|
|
50
|
+
- [ ] GraphRAG-lite for knowledge graph RAG
|
|
51
|
+
- [ ] Log analysis Agent toolkit
|
|
52
|
+
- [ ] Model quantization utilities (AWQ, GPTQ)
|
|
53
|
+
|
|
54
|
+
## Installation
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
pip install geoffrey-llm
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Optional dependencies
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# For fine-tuning capabilities
|
|
64
|
+
pip install geoffrey-llm[finetune]
|
|
65
|
+
|
|
66
|
+
# For optimized inference
|
|
67
|
+
pip install geoffrey-llm[inference]
|
|
68
|
+
|
|
69
|
+
# Development install
|
|
70
|
+
pip install geoffrey-llm[dev]
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Quick Start
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
from geoffrey_llm import placeholder
|
|
77
|
+
|
|
78
|
+
print(placeholder())
|
|
79
|
+
# Output: geoffrey-llm is under development. Stay tuned!
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
MIT License
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# geoffrey-llm
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/geoffrey-llm/)
|
|
4
|
+
[](https://www.python.org/downloads/)
|
|
5
|
+
|
|
6
|
+
A lightweight toolkit for LLM fine-tuning, inference optimization, and agent development.
|
|
7
|
+
|
|
8
|
+
> ⚠️ **Note**: This package is currently in early development (v0.0.1). APIs will change frequently.
|
|
9
|
+
|
|
10
|
+
## Planned Features
|
|
11
|
+
|
|
12
|
+
- [ ] Simplified LoRA/QLoRA fine-tuning interface
|
|
13
|
+
- [ ] Unified inference backend (vLLM, llama.cpp, TensorRT)
|
|
14
|
+
- [ ] GraphRAG-lite for knowledge graph RAG
|
|
15
|
+
- [ ] Log analysis Agent toolkit
|
|
16
|
+
- [ ] Model quantization utilities (AWQ, GPTQ)
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pip install geoffrey-llm
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Optional dependencies
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# For fine-tuning capabilities
|
|
28
|
+
pip install geoffrey-llm[finetune]
|
|
29
|
+
|
|
30
|
+
# For optimized inference
|
|
31
|
+
pip install geoffrey-llm[inference]
|
|
32
|
+
|
|
33
|
+
# Development install
|
|
34
|
+
pip install geoffrey-llm[dev]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Quick Start
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
from geoffrey_llm import placeholder
|
|
41
|
+
|
|
42
|
+
print(placeholder())
|
|
43
|
+
# Output: geoffrey-llm is under development. Stay tuned!
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
MIT License
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Core module - placeholder for future implementation"""
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def placeholder():
|
|
5
|
+
"""Placeholder function, will be replaced with actual features."""
|
|
6
|
+
return "geoffrey-llm is under development. Stay tuned!"
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class LLMConfig:
|
|
10
|
+
"""Configuration class for LLM operations."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, model_name: str = "gpt-3.5-turbo"):
|
|
13
|
+
self.model_name = model_name
|
|
14
|
+
|
|
15
|
+
def info(self):
|
|
16
|
+
return f"Config for {self.model_name}"
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: geoffrey-llm
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A lightweight toolkit for LLM fine-tuning, inference optimization, and agent development
|
|
5
|
+
Author-email: Geoffrey <your.email@example.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/yourusername/geoffrey-llm
|
|
8
|
+
Project-URL: Issues, https://github.com/yourusername/geoffrey-llm/issues
|
|
9
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: requests>=2.25.0
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
26
|
+
Requires-Dist: black; extra == "dev"
|
|
27
|
+
Requires-Dist: ruff; extra == "dev"
|
|
28
|
+
Provides-Extra: finetune
|
|
29
|
+
Requires-Dist: torch>=2.0; extra == "finetune"
|
|
30
|
+
Requires-Dist: transformers>=4.30; extra == "finetune"
|
|
31
|
+
Requires-Dist: peft>=0.5; extra == "finetune"
|
|
32
|
+
Provides-Extra: inference
|
|
33
|
+
Requires-Dist: vllm>=0.3.0; extra == "inference"
|
|
34
|
+
Requires-Dist: llama-cpp-python; extra == "inference"
|
|
35
|
+
Dynamic: license-file
|
|
36
|
+
|
|
37
|
+
# geoffrey-llm
|
|
38
|
+
|
|
39
|
+
[](https://pypi.org/project/geoffrey-llm/)
|
|
40
|
+
[](https://www.python.org/downloads/)
|
|
41
|
+
|
|
42
|
+
A lightweight toolkit for LLM fine-tuning, inference optimization, and agent development.
|
|
43
|
+
|
|
44
|
+
> ⚠️ **Note**: This package is currently in early development (v0.0.1). APIs will change frequently.
|
|
45
|
+
|
|
46
|
+
## Planned Features
|
|
47
|
+
|
|
48
|
+
- [ ] Simplified LoRA/QLoRA fine-tuning interface
|
|
49
|
+
- [ ] Unified inference backend (vLLM, llama.cpp, TensorRT)
|
|
50
|
+
- [ ] GraphRAG-lite for knowledge graph RAG
|
|
51
|
+
- [ ] Log analysis Agent toolkit
|
|
52
|
+
- [ ] Model quantization utilities (AWQ, GPTQ)
|
|
53
|
+
|
|
54
|
+
## Installation
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
pip install geoffrey-llm
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Optional dependencies
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# For fine-tuning capabilities
|
|
64
|
+
pip install geoffrey-llm[finetune]
|
|
65
|
+
|
|
66
|
+
# For optimized inference
|
|
67
|
+
pip install geoffrey-llm[inference]
|
|
68
|
+
|
|
69
|
+
# Development install
|
|
70
|
+
pip install geoffrey-llm[dev]
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Quick Start
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
from geoffrey_llm import placeholder
|
|
77
|
+
|
|
78
|
+
print(placeholder())
|
|
79
|
+
# Output: geoffrey-llm is under development. Stay tuned!
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
MIT License
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
geoffrey_llm/__init__.py
|
|
5
|
+
geoffrey_llm/core.py
|
|
6
|
+
geoffrey_llm.egg-info/PKG-INFO
|
|
7
|
+
geoffrey_llm.egg-info/SOURCES.txt
|
|
8
|
+
geoffrey_llm.egg-info/dependency_links.txt
|
|
9
|
+
geoffrey_llm.egg-info/entry_points.txt
|
|
10
|
+
geoffrey_llm.egg-info/requires.txt
|
|
11
|
+
geoffrey_llm.egg-info/top_level.txt
|
|
12
|
+
tests/test_basic.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
geoffrey_llm
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "geoffrey-llm"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "A lightweight toolkit for LLM fine-tuning, inference optimization, and agent development"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "MIT"}
|
|
11
|
+
authors = [
|
|
12
|
+
{name = "Geoffrey", email = "your.email@example.com"}
|
|
13
|
+
]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.8",
|
|
20
|
+
"Programming Language :: Python :: 3.9",
|
|
21
|
+
"Programming Language :: Python :: 3.10",
|
|
22
|
+
"Programming Language :: Python :: 3.11",
|
|
23
|
+
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"License :: OSI Approved :: MIT License",
|
|
25
|
+
"Operating System :: OS Independent",
|
|
26
|
+
]
|
|
27
|
+
requires-python = ">=3.8"
|
|
28
|
+
dependencies = [
|
|
29
|
+
"requests>=2.25.0",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[project.optional-dependencies]
|
|
33
|
+
dev = [
|
|
34
|
+
"pytest>=7.0",
|
|
35
|
+
"black",
|
|
36
|
+
"ruff",
|
|
37
|
+
]
|
|
38
|
+
finetune = [
|
|
39
|
+
"torch>=2.0",
|
|
40
|
+
"transformers>=4.30",
|
|
41
|
+
"peft>=0.5",
|
|
42
|
+
]
|
|
43
|
+
inference = [
|
|
44
|
+
"vllm>=0.3.0",
|
|
45
|
+
"llama-cpp-python",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[project.urls]
|
|
49
|
+
Homepage = "https://github.com/yourusername/geoffrey-llm"
|
|
50
|
+
Issues = "https://github.com/yourusername/geoffrey-llm/issues"
|
|
51
|
+
|
|
52
|
+
[project.scripts]
|
|
53
|
+
geoffrey-llm = "geoffrey_llm.cli:main"
|