Spaces:
Runtime error
Runtime error
complete-dope
commited on
Commit
•
1fd6029
1
Parent(s):
e29386b
dockerFirstTimeUsed
Browse files- Dockerfile +9 -0
- main.py +1 -1
- maintain.py +1 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# this acts as an image file for our app
|
2 |
+
# using this we create an image that we are using in our own laptop
|
3 |
+
# FROM -> this is just an base development from where we want to start , these files are basically / usually available in the docker hub
|
4 |
+
# FROM python:3.11 -> here the 3.11 will be the specifics of the python image
|
5 |
+
# COPY -> here we copy our files ( that we have )
|
6 |
+
FROM python
|
7 |
+
COPY . /code
|
8 |
+
WORKDIR /code
|
9 |
+
CMD python maintain.py
|
main.py
CHANGED
@@ -39,7 +39,7 @@ def format_fun(example):
|
|
39 |
#try out different models from the hugging faces library ( the best would have been the once released by the authors but that wont be quantised so dont think it would work well !!
|
40 |
|
41 |
|
42 |
-
base_model_id = '' # this is passed in as arg -> args.model_id
|
43 |
|
44 |
bnb_config = BitsAndBytesConfig(
|
45 |
load_in_4bit=True,
|
|
|
39 |
#try out different models from the hugging faces library ( the best would have been the once released by the authors but that wont be quantised so dont think it would work well !!
|
40 |
|
41 |
|
42 |
+
base_model_id = 'TheBloke/dolphin-2.5-mixtral-8x7b-GGUF' # this is passed in as arg -> args.model_id
|
43 |
|
44 |
bnb_config = BitsAndBytesConfig(
|
45 |
load_in_4bit=True,
|
maintain.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
print("This shit is working now ")
|