Transformers
llama
chemistry
biology
finance
legal
music
code
art
climate
medical
text-generation-inference
Instructions to use PetraAI/Nashmi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PetraAI/Nashmi with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PetraAI/Nashmi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 376 Bytes
ec0f90b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | FROM python:3-alpine
WORKDIR /app
COPY ./requirements.txt /app
COPY ./src/* /app
RUN pip3 install -r requirements.txt
ENV PORT=5500
EXPOSE "$PORT/tcp"
#ENTRYPOINT nginx && uwsgi --ini /app/params.ini -w FreeGPT4_Server
#shell form necessary
SHELL ["python3","/app/FreeGPT4_Server.py"]
ENTRYPOINT ["python3","/app/FreeGPT4_Server.py"]
CMD ["--cookie-file","/cookies.json"]
|