Skip to content

Commit

Permalink
rename to hugot
Browse files Browse the repository at this point in the history
  • Loading branch information
RJKeevil committed Feb 9, 2024
1 parent 8170acb commit be21388
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .ci/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
hugo:
image: hugo:$commit_hash
hugot:
image: hugot:$commit_hash
build:
context: ./..
dockerfile: ./Dockerfile
Expand All @@ -10,4 +10,4 @@ services:
environment:
- HOST_UID=$host_uid
- TEST_MODELS_FOLDER=/models
command: /run-unit-tests-container.sh
command: /run-unit-tests-container.sh
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <span>HuGo: Huggingface 🤗 pipelines for golang
# <span>Hugot: Huggingface 🤗 pipelines for golang

## What

Expand Down Expand Up @@ -28,10 +28,10 @@ Implementations for additional pipelines will follow. We also very gladly accept

## Installation and usage

HuGo has two main dependencies:
Hugot has two main dependencies:

- the [tokenizer](https://github.com/Knights-Analytics/tokenizers) library with bindings to huggingface's rust tokenizer, which is itself a fork of https://github.com/daulet/tokenizers. In particular, you will need to make available to HuGo the compiled libtokenizers.a file, which resides by default at /usr/lib/libtokenizers.a.
- the [onnxruntime_go](https://github.com/yalue/onnxruntime_go) library, with go bindings to onnxruntime. You will need to make available to HuGo the onnxruntime.so file, which resides by default at /usr/lib/onnxruntime.so
- the [tokenizer](https://github.com/Knights-Analytics/tokenizers) library with bindings to huggingface's rust tokenizer, which is itself a fork of https://github.com/daulet/tokenizers. In particular, you will need to make available to Hugot the compiled libtokenizers.a file, which resides by default at /usr/lib/libtokenizers.a.
- the [onnxruntime_go](https://github.com/yalue/onnxruntime_go) library, with go bindings to onnxruntime. You will need to make available to Hugot the onnxruntime.so file, which resides by default at /usr/lib/onnxruntime.so

Assuming you have rust installed, you can compile the tokenizers library and get the required libtokenizers.a as simply as follows:

Expand Down
8 changes: 4 additions & 4 deletions docker-compose-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
services:
hugo:
image: hugo:dev
hugot:
image: hugot:dev
build:
context: .
dockerfile: ./Dockerfile
target: building
volumes:
- $src_dir:/home/testuser/repositories/hugo
- $src_dir:/home/testuser/repositories/hugot
environment:
- TEST_MODELS_FOLDER=/models
command: tail -f /dev/null
command: tail -f /dev/null
File renamed without changes.
File renamed without changes.

0 comments on commit be21388

Please sign in to comment.