kenken999 commited on
Commit
5251f68
·
1 Parent(s): 09575c3
cache/user_config.yaml CHANGED
@@ -1,6 +1,6 @@
1
  cache_dir: null
2
  lang: en
3
- last_model: LLaMA3-70B-Chat
4
  path_dict:
5
  Falcon-180B: tiiuae/falcon-180b
6
  LLaMA3-70B-Chat: meta-llama/Meta-Llama-3-70B-Instruct
 
1
  cache_dir: null
2
  lang: en
3
+ last_model: Qwen1.5-7B
4
  path_dict:
5
  Falcon-180B: tiiuae/falcon-180b
6
  LLaMA3-70B-Chat: meta-llama/Meta-Llama-3-70B-Instruct
chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/data_level0.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:79e0a9c539a03248fa717b3448160a6cd7c4f79540a5d02e64cf0b53cb9116b4
3
  size 1676000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd111e880cf38f2550e5d903f266cedc3626a268c51201dc5b530bec91dccd9f
3
  size 1676000
chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d46834fee238cbc781fd3bcafa785bf434397535408e9dd6e866dfe7a476840e
3
  size 4000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d35d40db91d1b7bc6a40dd3e9553d1e0e858466773317d0d5274dee82eedb967
3
  size 4000
chroma/chroma.sqlite3 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c71317f0fdab5781112d3daf07097d577badfbf01f70b53031583040809c3215
3
  size 487424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f57fe5e3e9007b861c4aff3f5cfcbb93f41b96145e7465f1e80feca4c8f47c14
3
  size 487424
controllers/gpt_enginner20240701110931 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit e6f43a55b50dc2a8836dbab4222016da8bb50137
controllers/gpt_enginner20240701111125 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 814b806fa0c2c6734f2f0378123e8fcb21057926
controllers/gpt_enginner20240701111159 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 46d37945fd49f0f7cb518df2b40f81c51a220b19
controllers/gpt_enginner20240701111311 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 79747100b3bac344db7dd775d05fbcd2666f0e45
controllers/gpt_enginner20240701112117 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 433bd9bc7ec34308d802cd7fa1ec5bcf3dd199a2
controllers/gpt_enginner20240701112146 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 036feffdd63baf460c53593351bbae440e2159a1
controllers/gpt_enginner20240701112215 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 88f3bb1bd605d8117a9a64dcf9895fb1ccc1a266
controllers/gpt_enginner20240701112320 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 9b86c80e184b4ba0fb196f518e642f709eab54cd
myproject/goldprice_project/goldprice_app/__init__.py ADDED
File without changes
myproject/goldprice_project/goldprice_app/admin.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.contrib import admin
2
+
3
+ # Register your models here.
myproject/goldprice_project/goldprice_app/apps.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from django.apps import AppConfig
2
+
3
+
4
+ class GoldpriceAppConfig(AppConfig):
5
+ default_auto_field = 'django.db.models.BigAutoField'
6
+ name = 'goldprice_app'
myproject/goldprice_project/goldprice_app/migrations/__init__.py ADDED
File without changes
myproject/goldprice_project/goldprice_app/models.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.db import models
2
+
3
+ # Create your models here.
myproject/goldprice_project/goldprice_app/tests.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.test import TestCase
2
+
3
+ # Create your tests here.
myproject/goldprice_project/goldprice_app/views.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.shortcuts import render
2
+
3
+ # Create your views here.
myproject/goldprice_project/goldprice_project/__init__.py ADDED
File without changes
myproject/goldprice_project/goldprice_project/asgi.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ ASGI config for goldprice_project project.
3
+
4
+ It exposes the ASGI callable as a module-level variable named ``application``.
5
+
6
+ For more information on this file, see
7
+ https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/
8
+ """
9
+
10
+ import os
11
+
12
+ from django.core.asgi import get_asgi_application
13
+
14
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'goldprice_project.settings')
15
+
16
+ application = get_asgi_application()
myproject/goldprice_project/goldprice_project/settings.py ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Django settings for goldprice_project project.
3
+
4
+ Generated by 'django-admin startproject' using Django 5.0.4.
5
+
6
+ For more information on this file, see
7
+ https://docs.djangoproject.com/en/5.0/topics/settings/
8
+
9
+ For the full list of settings and their values, see
10
+ https://docs.djangoproject.com/en/5.0/ref/settings/
11
+ """
12
+
13
+ from pathlib import Path
14
+
15
+ # Build paths inside the project like this: BASE_DIR / 'subdir'.
16
+ BASE_DIR = Path(__file__).resolve().parent.parent
17
+
18
+
19
+ # Quick-start development settings - unsuitable for production
20
+ # See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
21
+
22
+ # SECURITY WARNING: keep the secret key used in production secret!
23
+ SECRET_KEY = 'django-insecure-g-w=^f(=b4u4)r9%7feleoyoc@lldf4m0g41l6@50yf(o$0y1-'
24
+
25
+ # SECURITY WARNING: don't run with debug turned on in production!
26
+ DEBUG = True
27
+
28
+ ALLOWED_HOSTS = []
29
+
30
+
31
+ # Application definition
32
+
33
+ INSTALLED_APPS = [
34
+ 'django.contrib.admin',
35
+ 'django.contrib.auth',
36
+ 'django.contrib.contenttypes',
37
+ 'django.contrib.sessions',
38
+ 'django.contrib.messages',
39
+ 'django.contrib.staticfiles',
40
+ ]
41
+
42
+ MIDDLEWARE = [
43
+ 'django.middleware.security.SecurityMiddleware',
44
+ 'django.contrib.sessions.middleware.SessionMiddleware',
45
+ 'django.middleware.common.CommonMiddleware',
46
+ 'django.middleware.csrf.CsrfViewMiddleware',
47
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
48
+ 'django.contrib.messages.middleware.MessageMiddleware',
49
+ 'django.middleware.clickjacking.XFrameOptionsMiddleware',
50
+ ]
51
+
52
+ ROOT_URLCONF = 'goldprice_project.urls'
53
+
54
+ TEMPLATES = [
55
+ {
56
+ 'BACKEND': 'django.template.backends.django.DjangoTemplates',
57
+ 'DIRS': [],
58
+ 'APP_DIRS': True,
59
+ 'OPTIONS': {
60
+ 'context_processors': [
61
+ 'django.template.context_processors.debug',
62
+ 'django.template.context_processors.request',
63
+ 'django.contrib.auth.context_processors.auth',
64
+ 'django.contrib.messages.context_processors.messages',
65
+ ],
66
+ },
67
+ },
68
+ ]
69
+
70
+ WSGI_APPLICATION = 'goldprice_project.wsgi.application'
71
+
72
+
73
+ # Database
74
+ # https://docs.djangoproject.com/en/5.0/ref/settings/#databases
75
+
76
+ DATABASES = {
77
+ 'default': {
78
+ 'ENGINE': 'django.db.backends.sqlite3',
79
+ 'NAME': BASE_DIR / 'db.sqlite3',
80
+ }
81
+ }
82
+
83
+
84
+ # Password validation
85
+ # https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators
86
+
87
+ AUTH_PASSWORD_VALIDATORS = [
88
+ {
89
+ 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
90
+ },
91
+ {
92
+ 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
93
+ },
94
+ {
95
+ 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
96
+ },
97
+ {
98
+ 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
99
+ },
100
+ ]
101
+
102
+
103
+ # Internationalization
104
+ # https://docs.djangoproject.com/en/5.0/topics/i18n/
105
+
106
+ LANGUAGE_CODE = 'en-us'
107
+
108
+ TIME_ZONE = 'UTC'
109
+
110
+ USE_I18N = True
111
+
112
+ USE_TZ = True
113
+
114
+
115
+ # Static files (CSS, JavaScript, Images)
116
+ # https://docs.djangoproject.com/en/5.0/howto/static-files/
117
+
118
+ STATIC_URL = 'static/'
119
+
120
+ # Default primary key field type
121
+ # https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
122
+
123
+ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
myproject/goldprice_project/goldprice_project/urls.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ URL configuration for goldprice_project project.
3
+
4
+ The `urlpatterns` list routes URLs to views. For more information please see:
5
+ https://docs.djangoproject.com/en/5.0/topics/http/urls/
6
+ Examples:
7
+ Function views
8
+ 1. Add an import: from my_app import views
9
+ 2. Add a URL to urlpatterns: path('', views.home, name='home')
10
+ Class-based views
11
+ 1. Add an import: from other_app.views import Home
12
+ 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
13
+ Including another URLconf
14
+ 1. Import the include() function: from django.urls import include, path
15
+ 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
16
+ """
17
+ from django.contrib import admin
18
+ from django.urls import path
19
+
20
+ urlpatterns = [
21
+ path('admin/', admin.site.urls),
22
+ ]
myproject/goldprice_project/goldprice_project/wsgi.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ WSGI config for goldprice_project project.
3
+
4
+ It exposes the WSGI callable as a module-level variable named ``application``.
5
+
6
+ For more information on this file, see
7
+ https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/
8
+ """
9
+
10
+ import os
11
+
12
+ from django.core.wsgi import get_wsgi_application
13
+
14
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'goldprice_project.settings')
15
+
16
+ application = get_wsgi_application()
myproject/goldprice_project/manage.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ """Django's command-line utility for administrative tasks."""
3
+ import os
4
+ import sys
5
+
6
+
7
+ def main():
8
+ """Run administrative tasks."""
9
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'goldprice_project.settings')
10
+ try:
11
+ from django.core.management import execute_from_command_line
12
+ except ImportError as exc:
13
+ raise ImportError(
14
+ "Couldn't import Django. Are you sure it's installed and "
15
+ "available on your PYTHONPATH environment variable? Did you "
16
+ "forget to activate a virtual environment?"
17
+ ) from exc
18
+ execute_from_command_line(sys.argv)
19
+
20
+
21
+ if __name__ == '__main__':
22
+ main()
refresh_app/manage.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from django.core.management import execute_from_command_line
2
+ import os
3
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'refresh_app.settings')
4
+ execute_from_command_line(sys.argv)
refresh_app/settings.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ BASE_DIR = Path(__file__).resolve().parent.parent
3
+ SECRET_KEY = '8cw%6bsf-y&2!rntamz&of$&a5st$uar6ly4u+4wffk0=0%i-b'
4
+ DEBUG = True
5
+ ALLOWED_HOSTS = []
6
+ INSTALLED_APPS = [
7
+ 'django.contrib.admin',
8
+ 'django.contrib.auth',
9
+ 'django.contrib.contenttypes',
10
+ 'django.contrib.sessions',
11
+ 'django.contrib.messages',
12
+ 'django.contrib.staticfiles',
13
+ ]
14
+ MIDDLEWARE = [
15
+ 'django.middleware.security.SecurityMiddleware',
16
+ 'django.contrib.sessions.middleware.SessionMiddleware',
17
+ 'django.middleware.common.CommonMiddleware',
18
+ 'django.middleware.csrf.CsrfViewMiddleware',
19
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
20
+ 'django.contrib.messages.middleware.MessageMiddleware',
21
+ 'django.middleware.clickjacking.XFrameOptionsMiddleware',
22
+ ]
23
+ ROOT_URLCONF = 'refresh_app.urls'
refresh_app/urls.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from django.urls import path
2
+ from . import views
3
+ urlpatterns = [
4
+ path('', views.index, name='index'),
5
+ ]
refresh_app/views.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.shortcuts import render
2
+ def index(request):
3
+ return HttpResponse('Welcome to Refresh App!')