본문 바로가기
반응형
[AI] Colab 에서 Hugging Face 토큰 오류 해결 /usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_token.py:88: UserWarning: The secret `HF_TOKEN` does not exist in your Colab secrets. To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session. You will be able to reuse this secret in all of your notebooks. .. 2024. 2. 13.
[Python][AI] Llama 2 PC 에서 독립하여 구축 하기 langchain 을 이용해서 Llama 를 API 키 없이, 인터넷 연결이 없이 AI 생성 챗봇을 실행하는 방법에 대한 내용을 정리 하였습니다. Step 1. LLM 다운로드 하기 Llama 2 모델을 다운로드 합니다. https://huggingface.co/meta-llama/Llama-2-7b-chat-hf meta-llama/Llama-2-7b-chat-hf · Hugging Face This is a form to enable access to Llama 2 on Hugging Face after you have been granted access from Meta. Please visit the Meta website and accept our license terms and acceptab.. 2024. 2. 6.
[AI] Google Gemini API Key 발급 방법 https://ai.google.dev/ 사이트에 접속 합니다. Get API key in Google AI Studio 를 클릭합니다. 동의 후 Continue 를 선택합니다. Get API Key 버튼을 클릭합니다. 다음 Create API Key in new Project 를 클릭하면 생성됩니다. 2024. 1. 30.
[AI] OpenAI Key 발급 하기 1. 사이트에 방문해서 회원가입을 합니다. https://platform.openai.com/ 2. 왼쪽 메뉴에서 API Keys 메뉴를 선택합니다. 3. Create New secret key 버튼을 선택합니다. 5. Name 을 입력하고 "Create secret key" 를 선택합니다. 6. 생성된 키를 복사하여 사용하면 됩니다. 2024. 1. 30.
반응형