Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
23
371k
source
stringlengths
32
152
Create an Endpoint After your first login, you will be directed to the [Endpoint creation page](https://ui.endpoints.huggingface.co/new). As an example, this guide will go through the steps to deploy [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-engli...
huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/create_endpoint.mdx
Choosing a metric for your task **So you've trained your model and want to see how well itโ€™s doing on a dataset of your choice. Where do you start?** There is no โ€œone size fits allโ€ approach to choosing an evaluation metric, but some good guidelines to keep in mind are: ## Categories of metrics There are 3 high-le...
huggingface/evaluate/blob/main/docs/source/choosing_a_metric.mdx
ไธป่ฆ็‰น็‚น ่ฎฉๆˆ‘ไปฌๆฅไป‹็ปไธ€ไธ‹ Gradio ๆœ€ๅ—ๆฌข่ฟŽ็š„ไธ€ไบ›ๅŠŸ่ƒฝ๏ผ่ฟ™้‡Œๆ˜ฏ Gradio ็š„ไธป่ฆ็‰น็‚น๏ผš 1. [ๆทปๅŠ ็คบไพ‹่พ“ๅ…ฅ](#example-inputs) 2. [ไผ ้€’่‡ชๅฎšไน‰้”™่ฏฏๆถˆๆฏ](#errors) 3. [ๆทปๅŠ ๆ่ฟฐๅ†…ๅฎน](#descriptive-content) 4. [่ฎพ็ฝฎๆ——ๆ ‡](#flagging) 5. [้ข„ๅค„็†ๅ’ŒๅŽๅค„็†](#preprocessing-and-postprocessing) 6. [ๆ ทๅผๅŒ–ๆผ”็คบ](#styling) 7. [ๆŽ’้˜Ÿ็”จๆˆท](#queuing) 8. [่ฟญไปฃ่พ“ๅ‡บ](#iterative-outputs) 9. [่ฟ›ๅบฆๆก](#progress-bars) 10. [ๆ‰นๅค„็†ๅ‡ฝๆ•ฐ](#bat...
gradio-app/gradio/blob/main/guides/cn/01_getting-started/02_key-features.md
!--Copyright 2023 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
huggingface/transformers/blob/main/docs/source/en/perf_train_tpu_tf.md
Gradio Demo: blocks_random_slider ``` !pip install -q gradio ``` ``` import gradio as gr def func(slider_1, slider_2): return slider_1 * 5 + slider_2 with gr.Blocks() as demo: slider = gr.Slider(minimum=-10.2, maximum=15, label="Random Slider (Static)", randomize=True) slider_1 = gr.Slider(minimu...
gradio-app/gradio/blob/main/demo/blocks_random_slider/run.ipynb
Git over SSH You can access and write data in repositories on huggingface.co using SSH (Secure Shell Protocol). When you connect via SSH, you authenticate using a private key file on your local machine. Some actions, such as pushing changes, or cloning private repositories, will require you to upload your SSH public...
huggingface/hub-docs/blob/main/docs/hub/security-git-ssh.md
!--- Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
huggingface/transformers/blob/main/examples/research_projects/layoutlmv3/README.md
State in Blocks We covered [State in Interfaces](https://gradio.app/interface-state), this guide takes a look at state in Blocks, which works mostly the same. ## Global State Global state in Blocks works the same as in Interface. Any variable created outside a function call is a reference shared between all users. ...
gradio-app/gradio/blob/main/guides/03_building-with-blocks/03_state-in-blocks.md
ๅฆ‚ไฝ•ไฝฟ็”จๅœฐๅ›พ็ป„ไปถ็ป˜ๅˆถๅ›พ่กจ Related spaces: Tags: PLOTS, MAPS ## ็ฎ€ไป‹ ๆœฌๆŒ‡ๅ—ไป‹็ปๅฆ‚ไฝ•ไฝฟ็”จ Gradio ็š„ `Plot` ็ป„ไปถๅœจๅœฐๅ›พไธŠ็ป˜ๅˆถๅœฐ็†ๆ•ฐๆฎใ€‚Gradio ็š„ `Plot` ็ป„ไปถๅฏไปฅไธŽ Matplotlibใ€Bokeh ๅ’Œ Plotly ไธ€่ตทไฝฟ็”จใ€‚ๅœจๆœฌๆŒ‡ๅ—ไธญ๏ผŒๆˆ‘ไปฌๅฐ†ไฝฟ็”จ Plotly ่ฟ›่กŒๆ“ไฝœใ€‚Plotly ๅฏไปฅ่ฎฉๅผ€ๅ‘ไบบๅ‘˜่ฝปๆพๅˆ›ๅปบๅ„็งๅœฐๅ›พๆฅๅฑ•็คบไป–ไปฌ็š„ๅœฐ็†ๆ•ฐๆฎใ€‚็‚นๅ‡ป[่ฟ™้‡Œ](https://plotly.com/python/maps/)ๆŸฅ็œ‹ไธ€ไบ›็คบไพ‹ใ€‚ ## ๆฆ‚่ฟฐ ๆˆ‘ไปฌๅฐ†ไฝฟ็”จ็บฝ็บฆๅธ‚็š„ Airbnb ๆ•ฐๆฎ้›†๏ผŒ่ฏฅๆ•ฐๆฎ้›†ๆ‰˜็ฎกๅœจ kaggle ไธŠ๏ผŒ็‚นๅ‡ป[่ฟ™้‡Œ](https://www.ka...
gradio-app/gradio/blob/main/guides/cn/05_tabular-data-science-and-plots/plot-component-for-maps.md
SE-ResNet **SE ResNet** is a variant of a [ResNet](https://www.paperswithcode.com/method/resnet) that employs [squeeze-and-excitation blocks](https://paperswithcode.com/method/squeeze-and-excitation-block) to enable the network to perform dynamic channel-wise feature recalibration. ## How do I use this model on an i...
huggingface/pytorch-image-models/blob/main/hfdocs/source/models/se-resnet.mdx
-- title: poseval emoji: ๐Ÿค— colorFrom: blue colorTo: red sdk: gradio sdk_version: 3.19.1 app_file: app.py pinned: false tags: - evaluate - metric description: >- The poseval metric can be used to evaluate POS taggers. Since seqeval does not work well with POS data that is not in IOB format the poseval is an alter...
huggingface/evaluate/blob/main/metrics/poseval/README.md
-- title: "Large Language Models: A New Moore's Law?" thumbnail: /blog/assets/33_large_language_models/01_model_size.jpg authors: - user: juliensimon --- # Large Language Models: A New Moore's Law? A few days ago, Microsoft and NVIDIA [introduced](https://www.microsoft.com/en-us/research/blog/using-deepspeed-and-me...
huggingface/blog/blob/main/large-language-models.md
!--Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
huggingface/transformers/blob/main/docs/source/en/model_doc/vision-text-dual-encoder.md
hat is dynamic padding? In the "Batching Inputs together" video, we have seen that to be able to group inputs of different lengths in the same batch, we need to add padding tokens to all the short inputs until they are all of the same length. Here for instance, the longest sentence is the third one, and we need to add ...
huggingface/course/blob/main/subtitles/en/raw/chapter3/02d_dynamic-padding.md
!--Copyright 2023 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
huggingface/diffusers/blob/main/docs/source/en/api/pipelines/kandinsky3.md
Datasets server - worker > Workers that pre-compute and cache the response to /splits, /first-rows, /parquet, /info and /size. ## Configuration Use environment variables to configure the workers. The prefix of each environment variable gives its scope. ### Uvicorn The following environment variables are used to c...
huggingface/datasets-server/blob/main/services/worker/README.md
Differences between Dataset and IterableDataset There are two types of dataset objects, a [`Dataset`] and an [`IterableDataset`]. Whichever type of dataset you choose to use or create depends on the size of the dataset. In general, an [`IterableDataset`] is ideal for big datasets (think hundreds of GBs!) due to its l...
huggingface/datasets/blob/main/docs/source/about_mapstyle_vs_iterable.mdx
Q-Learning Recap [[q-learning-recap]] *Q-Learning* **is the RL algorithm that** : - Trains a *Q-function*, an **action-value function** encoded, in internal memory, by a *Q-table* **containing all the state-action pair values.** - Given a state and action, our Q-function **will search its Q-table for the correspon...
huggingface/deep-rl-class/blob/main/units/en/unit2/q-learning-recap.mdx
!--Copyright 2023 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
huggingface/transformers/blob/main/docs/source/en/tasks/zero_shot_object_detection.md
Quiz The best way to learn and [to avoid the illusion of competence](https://www.coursera.org/lecture/learning-how-to-learn/illusions-of-competence-BuFzf) **is to test yourself.** This will help you to find **where you need to reinforce your knowledge**. ### Q1: Which of the following interpretations of bias-varian...
huggingface/deep-rl-class/blob/main/units/en/unit6/quiz.mdx
Access and read Logs Hugging Face Endpoints provides access to the logs of your Endpoints through the UI in the โ€œLogsโ€ tab of your Endpoint. You will have access to the build logs of your Image artifacts as well as access to the Container Logs during inference. <img src="https://raw.githubusercontent.com/huggingfa...
huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/logs.mdx
Gradio Demo: examples_component ``` !pip install -q gradio ``` ``` # Downloading files from the demo repo import os os.mkdir('images') !wget -q -O images/cheetah1.jpg https://github.com/gradio-app/gradio/raw/main/demo/examples_component/images/cheetah1.jpg !wget -q -O images/lion.jpg https://github.com/gradio-app...
gradio-app/gradio/blob/main/demo/examples_component/run.ipynb
Additional Readings These are **optional readings** if you want to go deeper. ## Introduction to Policy Optimization - [Part 3: Intro to Policy Optimization - Spinning Up documentation](https://spinningup.openai.com/en/latest/spinningup/rl_intro3.html) ## Policy Gradient - [https://johnwlambert.github.io/policy...
huggingface/deep-rl-class/blob/main/units/en/unit4/additional-readings.mdx
!--Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
huggingface/optimum/blob/main/docs/source/onnxruntime/package_reference/quantization.mdx
Gradio Demo: number_component ``` !pip install -q gradio ``` ``` import gradio as gr with gr.Blocks() as demo: gr.Number() demo.launch() ```
gradio-app/gradio/blob/main/demo/number_component/run.ipynb
Gradio Demo: map_airbnb ### Display an interactive map of AirBnB locations with Plotly. Data is hosted on HuggingFace Datasets. ``` !pip install -q gradio plotly ``` ``` import gradio as gr import plotly.graph_objects as go from datasets import load_dataset dataset = load_dataset("gradio/NYC-Airbnb-Open...
gradio-app/gradio/blob/main/demo/map_airbnb/run.ipynb
Res2Net **Res2Net** is an image model that employs a variation on bottleneck residual blocks, [Res2Net Blocks](https://paperswithcode.com/method/res2net-block). The motivation is to be able to represent features at multiple scales. This is achieved through a novel building block for CNNs that constructs hierarchical ...
huggingface/pytorch-image-models/blob/main/hfdocs/source/models/res2net.mdx
ow to slice and dice a dataset. Most of the time, the data you work with wonโ€™t be perfectly prepared for training models. In this video weโ€™ll explore various features that Datasets provides to clean up your datasets. The Datasets library provides several built-in methods that allow you to wrangle your data. In this vid...
huggingface/course/blob/main/subtitles/en/raw/chapter5/03a_slice-and-dice.md
Gradio Demo: question-answering ``` !pip install -q gradio torch transformers ``` ``` import gradio as gr from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline model_name = "deepset/roberta-base-squad2" nlp = pipeline("question-answering", model=model_name, tokenizer=model_name) conte...
gradio-app/gradio/blob/main/demo/question-answering/run.ipynb
!--Copyright 2023 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
huggingface/diffusers/blob/main/docs/source/en/api/loaders/ip_adapter.md
!--โš ๏ธ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be rendered properly in your Markdown viewer. --> # Configuration [`PeftConfigMixin`] is the base configuration class for storing the adapter configuration of a [`PeftModel`], and [`PromptLearningCon...
huggingface/peft/blob/main/docs/source/package_reference/config.md
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
575

Spaces using m-ric/huggingface_doc 16