-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented base transformers, structured folders, etc
- Loading branch information
Showing
125 changed files
with
1,610 additions
and
1,485 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
.settings | ||
.vscode | ||
.idea | ||
AI_overview.drawio | ||
AI_overview.drawio | ||
.conda | ||
.settings/ | ||
.idea | ||
.vscode | ||
transformers/from_scratch/src/__pycache__ | ||
transformers/from_scratch/decoder/src/__pycache__ | ||
transformers/from_scratch/encoder/src/__pycache__ | ||
transformers/from_scratch/encoder-decoder/src/__pycache__ | ||
supervised/base-trainer/.ipynb_checkpoints | ||
.project |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
eclipse.preferences.version=1 | ||
encoding//misc_files/bilinear_examples.py=utf-8 | ||
encoding//supervised/base-trainer/src/data/make_dataset.py=utf-8 | ||
encoding/bilinear_examples.py=utf-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Highlights | ||
|
||
We cover the following topics: | ||
|
||
- Vectors, Matrices and Tensors | ||
- Vectors = magnetude and direction | ||
- Essential bits of Neural Network Models | ||
- Structure of Neural Networks Models | ||
- Essentials of Python Programming | ||
- Preparing the AI Training Tools (Tensorflow, JAX, PyTorch) | ||
- Implementation and Applications of AI Models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
version: '3' | ||
|
||
services: | ||
tgi: | ||
image: ghcr.io/huggingface/text-generation-inference:latest | ||
container_name: tgi | ||
ports: | ||
- 8080:80 | ||
volumes: | ||
- ${LOCAL_MODEL_CACHE_DIR}:/model_cache | ||
environment: | ||
- HUGGING_FACE_HUB_TOKEN=${LLAMA_TOKEN} | ||
# need this to access GPU | ||
deploy: | ||
resources: | ||
reservations: | ||
devices: | ||
- driver: nvidia | ||
count: 1 | ||
capabilities: [gpu] | ||
command: | ||
- '--huggingface-hub-cache' | ||
- '/model_cache' | ||
- '--model-id' | ||
- '${MODEL_ID}' | ||
- '--max-batch-prefill-tokens' | ||
- '${MAX_PREFILL_TOKENS}' | ||
- '--quantize' | ||
- '${QUANT}' | ||
- '--max-total-tokens' | ||
- '${MAX_TOTAL_TOKENS}' | ||
- '--max-input-length' | ||
- '${MAX_INPUT_LENGTH}' | ||
shm_size: 1gb | ||
ui: | ||
image: localllm-ui:latest | ||
container_name: ui | ||
build: | ||
context: ./chat_ui/ | ||
ports: | ||
- 7000:7000 | ||
|
||
# api: | ||
# image: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
0
.dockerignore → infra/docker/.dockerignore
100644 → 100755
File renamed without changes.
Empty file.
0
docker-compose.yaml → infra/docker/docker-compose.yaml
100644 → 100755
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
docker-compose.yml → infra/docker/docker-compose.yml
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
--- | ||
version: '2' | ||
services: | ||
zookeeper: | ||
image: confluentinc/cp-zookeeper:7.1.0 | ||
|
Empty file.
File renamed without changes.
0
etc/dashboards.yaml → infra/observe/etc/dashboards.yaml
100644 → 100755
File renamed without changes.
Empty file.
Empty file.
File renamed without changes.
Oops, something went wrong.