notebooks
notebooks copied to clipboard
Notebooks using the Hugging Face libraries π€
# What does this PR do? Fixes # (issue) ## Who can review? Feel free to tag members/contributors who may be interested in your PR.
Hello all, I wanted to follow the image similarity notebook but using a finetuned Yolov5x model in a private dataset. #270 comments about reading an Automodel object. I attempted to...
when it comes to the step βtrainer.train()β on the colab, it returns "RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN...
# What does this PR do? Removed duplicate show_points_and_boxes_on_image function from the segment anything example
I am unable to find the documentation that describes how to write the inference code in train.py. I am able to train the model using huggingface estimator and deploy to...
Hi, I'm getting: `UnexpectedStatusException: Error hosting endpoint huggingface-pytorch-inference-2023-06-01-15-13-58-275: Failed. Reason: The role 'arn:aws:iam::MY_ACCOUNT:role/MyTestRole' does not have BatchGetImage permission for the image: '[763104351884.dkr.ecr.us-east-1.amazonaws.com/huggingface-pytorch-inference@sha256:e535539e2c3ca213d59fb07b2c9c972d0a83129622674e42c21cca5ae90621aa'](http://763104351884.dkr.ecr.us-east-1.amazonaws.com/huggingface-pytorch-inference@sha256:e535539e2c3ca213d59fb07b2c9c972d0a83129622674e42c21cca5ae90621aa')..` For the example in: https://github.com/huggingface/notebooks/blob/main/sagemaker/11_deploy_model_from_hf_hub/deploy_transformer_model_from_hf_hub.ipynb Where I've added...
Hi, is there documentation for the list of ENV vars available when deploying the TGI DLC container in SageMaker? For example, any others besides these? `HF_MODEL_ID`, `SM_NUM_GPUS`, `HF_MODEL_QUANTIZE`
``` # Set Pip repository to point to the Neuron repository !pip config set global.extra-index-url https://pip.repos.neuron.amazonaws.com # Install Neuron PyTorch !pip install torch-neuron==1.9.1.* neuron-cc[tensorflow] sagemaker>=2.79.0 transformers==4.12.3 --upgrade ``` Error ```...
I am referring code from this site. https://huggingface.co/learn/nlp-course/chapter7/7?fw=tf#using-the-fine-tuned-model While fitting the model I am getting error : **TypeError: Argument `target` should be a list or nested structure of Tensors, Variables...
Hi, would it make sense to create a SageMaker batch processing example demonstrating running eval with [Eleuther AI Language Model Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness)? I haven't seen any SM examples for LLM...