File size: 1,021 Bytes
22ca508
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "name": "gpt-local",
  "version": "1.0.0",
  "description": "GPT de texto local usando Hugging Face Transformers",
  "main": "main.py",
  "scripts": {
    "start": "python3 main.py",
    "chat": "python3 chat_terminal.py",
    "test": "python3 test_gpt.py",
    "install": "pip3 install -r requirements.txt",
    "docker:build": "docker build -t gpt-local .",
    "docker:run": "docker run -it -p 7860:7860 gpt-local",
    "docker:compose": "docker-compose up",
    "clean": "find . -name '__pycache__' -type d -exec rm -rf {} + 2>/dev/null || true"
  },
  "keywords": [
    "gpt",
    "transformers",
    "huggingface",
    "local",
    "ai",
    "nlp",
    "chat",
    "python"
  ],
  "author": "Usuario Local",
  "license": "MIT",
  "dependencies": {
    "python": ">=3.8"
  },
  "engines": {
    "python": ">=3.8"
  },
  "repository": {
    "type": "git",
    "url": "local"
  },
  "config": {
    "model_cache": "~/.cache/huggingface",
    "default_model": "microsoft/DialoGPT-small",
    "web_port": 7860
  }
}