text
stringlengths
5
22M
id
stringlengths
12
177
metadata
dict
__index_level_0__
int64
0
1.37k
FROM nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04 LABEL maintainer="Hugging Face" LABEL repository="transformers" RUN apt update && \ apt install -y bash \ build-essential \ git \ curl \ ca-certificates \ python3 \ ...
AdaMix/docker/transformers-gpu/Dockerfile/0
{ "file_path": "AdaMix/docker/transformers-gpu/Dockerfile", "repo_id": "AdaMix", "token_count": 397 }
24
.. Copyright 2020 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 ...
AdaMix/docs/source/model_doc/auto.rst/0
{ "file_path": "AdaMix/docs/source/model_doc/auto.rst", "repo_id": "AdaMix", "token_count": 1378 }
25
.. Copyright 2020 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 ...
AdaMix/docs/source/model_doc/dpr.rst/0
{ "file_path": "AdaMix/docs/source/model_doc/dpr.rst", "repo_id": "AdaMix", "token_count": 1164 }
26
.. Copyright 2020 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 ...
AdaMix/docs/source/model_doc/mbart.rst/0
{ "file_path": "AdaMix/docs/source/model_doc/mbart.rst", "repo_id": "AdaMix", "token_count": 3154 }
27
.. 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 ...
AdaMix/docs/source/model_doc/wav2vec2.rst/0
{ "file_path": "AdaMix/docs/source/model_doc/wav2vec2.rst", "repo_id": "AdaMix", "token_count": 876 }
28
.. Copyright 2020 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 ...
AdaMix/docs/source/task_summary.rst/0
{ "file_path": "AdaMix/docs/source/task_summary.rst", "repo_id": "AdaMix", "token_count": 14570 }
29
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 The HuggingFace Inc. 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/LI...
AdaMix/examples/language-modeling/run_clm.py/0
{ "file_path": "AdaMix/examples/language-modeling/run_clm.py", "repo_id": "AdaMix", "token_count": 7294 }
30
#!/usr/bin/env python import torch from transformers import CamembertForMaskedLM, CamembertTokenizer def fill_mask(masked_input, model, tokenizer, topk=5): # Adapted from https://github.com/pytorch/fairseq/blob/master/fairseq/models/roberta/hub_interface.py assert masked_input.count("<mask>") == 1 input_...
AdaMix/examples/legacy/run_camembert.py/0
{ "file_path": "AdaMix/examples/legacy/run_camembert.py", "repo_id": "AdaMix", "token_count": 880 }
31
# coding=utf-8 # Copyright 2020 Huggingface # # 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 ...
AdaMix/examples/legacy/seq2seq/old_test_fsmt_bleu_score.py/0
{ "file_path": "AdaMix/examples/legacy/seq2seq/old_test_fsmt_bleu_score.py", "repo_id": "AdaMix", "token_count": 996 }
32
#!/usr/bin/env python import io import json import subprocess pairs = [ ["en", "ru"], ["ru", "en"], ["en", "de"], ["de", "en"], ] n_objs = 8 def get_all_data(pairs, n_objs): text = {} for src, tgt in pairs: pair = f"{src}-{tgt}" cmd = f"sacrebleu -t wmt19 -l {pair} --echo s...
AdaMix/examples/legacy/seq2seq/test_data/fsmt/build-eval-data.py/0
{ "file_path": "AdaMix/examples/legacy/seq2seq/test_data/fsmt/build-eval-data.py", "repo_id": "AdaMix", "token_count": 410 }
33
## Token classification Based on the scripts [`run_ner.py`](https://github.com/huggingface/transformers/blob/master/examples/contrib/legacy/token-classification/run_ner.py). The following examples are covered in this section: * NER on the GermEval 2014 (German NER) dataset * Emerging and Rare Entities task: WNUT’17 ...
AdaMix/examples/legacy/token-classification/README.md/0
{ "file_path": "AdaMix/examples/legacy/token-classification/README.md", "repo_id": "AdaMix", "token_count": 4553 }
34
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 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-...
AdaMix/examples/question-answering/run_qa.py/0
{ "file_path": "AdaMix/examples/question-answering/run_qa.py", "repo_id": "AdaMix", "token_count": 10009 }
35
import argparse import logging import sys from unittest.mock import patch import run_glue_with_pabee from transformers.testing_utils import TestCasePlus logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger() def get_setup_file(): parser = argparse.ArgumentParser() parser.add_argument("-f") ...
AdaMix/examples/research_projects/bert-loses-patience/test_run_glue_with_pabee.py/0
{ "file_path": "AdaMix/examples/research_projects/bert-loses-patience/test_run_glue_with_pabee.py", "repo_id": "AdaMix", "token_count": 671 }
36
# coding=utf-8 # Copyright 2019-present, the HuggingFace Inc. team. # # 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 a...
AdaMix/examples/research_projects/distillation/scripts/token_counts.py/0
{ "file_path": "AdaMix/examples/research_projects/distillation/scripts/token_counts.py", "repo_id": "AdaMix", "token_count": 729 }
37
""" coding=utf-8 Copyright 2018, Antonio Mendoza Hao Tan, Mohit Bansal Adapted From Facebook Inc, Detectron2 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/license...
AdaMix/examples/research_projects/lxmert/processing_image.py/0
{ "file_path": "AdaMix/examples/research_projects/lxmert/processing_image.py", "repo_id": "AdaMix", "token_count": 2734 }
38
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
AdaMix/examples/research_projects/movement-pruning/emmental/configuration_bert_masked.py/0
{ "file_path": "AdaMix/examples/research_projects/movement-pruning/emmental/configuration_bert_masked.py", "repo_id": "AdaMix", "token_count": 994 }
39
#!/usr/bin/env python import argparse import gc import os import sys from pathlib import Path from typing import List import pytorch_lightning as pl import torch from torch import nn from torch.nn import functional as F from finetune import SummarizationModule, TranslationModule from finetune import main as ft_main ...
AdaMix/examples/research_projects/seq2seq-distillation/distillation.py/0
{ "file_path": "AdaMix/examples/research_projects/seq2seq-distillation/distillation.py", "repo_id": "AdaMix", "token_count": 6284 }
40
# coding=utf-8 # Copyright 2018 HuggingFace Inc.. # # 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...
AdaMix/examples/test_xla_examples.py/0
{ "file_path": "AdaMix/examples/test_xla_examples.py", "repo_id": "AdaMix", "token_count": 1346 }
41
<jupyter_start><jupyter_text>IntroductionThe transformers library is an open-source, community-based repository to train, use and share models based on the Transformer architecture [(Vaswani & al., 2017)](https://arxiv.org/abs/1706.03762) such as Bert [(Devlin & al., 2018)](https://arxiv.org/abs/1810.04805),Roberta [(L...
AdaMix/notebooks/02-transformers.ipynb/0
{ "file_path": "AdaMix/notebooks/02-transformers.ipynb", "repo_id": "AdaMix", "token_count": 3930 }
42
#!/usr/bin/env python # Copyright 2020 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...
AdaMix/scripts/fsmt/gen-card-allenai-wmt16.py/0
{ "file_path": "AdaMix/scripts/fsmt/gen-card-allenai-wmt16.py", "repo_id": "AdaMix", "token_count": 1885 }
43
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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.a...
AdaMix/src/transformers/benchmark/benchmark_args_tf.py/0
{ "file_path": "AdaMix/src/transformers/benchmark/benchmark_args_tf.py", "repo_id": "AdaMix", "token_count": 2001 }
44
# Copyright 2020 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 applicabl...
AdaMix/src/transformers/convert_graph_to_onnx.py/0
{ "file_path": "AdaMix/src/transformers/convert_graph_to_onnx.py", "repo_id": "AdaMix", "token_count": 7142 }
45
# coding=utf-8 # Copyright 2020 The HuggingFace Inc. team # # 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 ...
AdaMix/src/transformers/generation_beam_search.py/0
{ "file_path": "AdaMix/src/transformers/generation_beam_search.py", "repo_id": "AdaMix", "token_count": 7944 }
46
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
AdaMix/src/transformers/models/auto/__init__.py/0
{ "file_path": "AdaMix/src/transformers/models/auto/__init__.py", "repo_id": "AdaMix", "token_count": 2924 }
47
# coding=utf-8 # Copyright 2020 The Google AI Language Team Authors and The HuggingFace Inc. team. # # 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/LICEN...
AdaMix/src/transformers/models/bert_generation/configuration_bert_generation.py/0
{ "file_path": "AdaMix/src/transformers/models/bert_generation/configuration_bert_generation.py", "repo_id": "AdaMix", "token_count": 2349 }
48
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
AdaMix/src/transformers/models/camembert/__init__.py/0
{ "file_path": "AdaMix/src/transformers/models/camembert/__init__.py", "repo_id": "AdaMix", "token_count": 1491 }
49
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
AdaMix/src/transformers/models/electra/configuration_electra.py/0
{ "file_path": "AdaMix/src/transformers/models/electra/configuration_electra.py", "repo_id": "AdaMix", "token_count": 3406 }
50
# coding=utf-8 # Copyright 2020 The Allen Institute for AI team and The HuggingFace Inc. team. # # 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...
AdaMix/src/transformers/models/longformer/configuration_longformer.py/0
{ "file_path": "AdaMix/src/transformers/models/longformer/configuration_longformer.py", "repo_id": "AdaMix", "token_count": 1164 }
51
# coding=utf-8 # Copyright 2020 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 requir...
AdaMix/src/transformers/models/mobilebert/configuration_mobilebert.py/0
{ "file_path": "AdaMix/src/transformers/models/mobilebert/configuration_mobilebert.py", "repo_id": "AdaMix", "token_count": 2972 }
52
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team, Microsoft Corporation. # Copyright (c) 2018, NVIDIA CORPORATION. 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 ...
AdaMix/src/transformers/models/mpnet/tokenization_mpnet_fast.py/0
{ "file_path": "AdaMix/src/transformers/models/mpnet/tokenization_mpnet_fast.py", "repo_id": "AdaMix", "token_count": 3659 }
53
# coding=utf-8 # Copyright 2018 The OpenAI Team Authors and HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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...
AdaMix/src/transformers/models/openai/modeling_openai.py/0
{ "file_path": "AdaMix/src/transformers/models/openai/modeling_openai.py", "repo_id": "AdaMix", "token_count": 15522 }
54
# coding=utf-8 # Copyright 2020 The Trax Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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...
AdaMix/src/transformers/models/reformer/modeling_reformer.py/0
{ "file_path": "AdaMix/src/transformers/models/reformer/modeling_reformer.py", "repo_id": "AdaMix", "token_count": 49032 }
55
# Copyright 2021 The HuggingFace Inc. 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 appl...
AdaMix/src/transformers/models/speech_to_text/convert_s2t_fairseq_to_tfms.py/0
{ "file_path": "AdaMix/src/transformers/models/speech_to_text/convert_s2t_fairseq_to_tfms.py", "repo_id": "AdaMix", "token_count": 1662 }
56
# coding=utf-8 # Copyright 2020 Google Research and The HuggingFace Inc. team. # # 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 re...
AdaMix/src/transformers/models/tapas/configuration_tapas.py/0
{ "file_path": "AdaMix/src/transformers/models/tapas/configuration_tapas.py", "repo_id": "AdaMix", "token_count": 5107 }
57
# coding=utf-8 # Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Lice...
AdaMix/src/transformers/models/transfo_xl/tokenization_transfo_xl.py/0
{ "file_path": "AdaMix/src/transformers/models/transfo_xl/tokenization_transfo_xl.py", "repo_id": "AdaMix", "token_count": 14552 }
58
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # 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...
AdaMix/src/transformers/models/xlnet/convert_xlnet_original_tf_checkpoint_to_pytorch.py/0
{ "file_path": "AdaMix/src/transformers/models/xlnet/convert_xlnet_original_tf_checkpoint_to_pytorch.py", "repo_id": "AdaMix", "token_count": 1452 }
59
from ..file_utils import add_end_docstrings from .base import PIPELINE_INIT_ARGS, Pipeline @add_end_docstrings(PIPELINE_INIT_ARGS) class TextGenerationPipeline(Pipeline): """ Language generation pipeline using any :obj:`ModelWithLMHead`. This pipeline predicts the words that will follow a specified text p...
AdaMix/src/transformers/pipelines/text_generation.py/0
{ "file_path": "AdaMix/src/transformers/pipelines/text_generation.py", "repo_id": "AdaMix", "token_count": 4051 }
60
# Copyright 2020 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 applicabl...
AdaMix/src/transformers/training_args.py/0
{ "file_path": "AdaMix/src/transformers/training_args.py", "repo_id": "AdaMix", "token_count": 16854 }
61
# Copyright 2020 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 applicabl...
AdaMix/src/transformers/utils/hp_naming.py/0
{ "file_path": "AdaMix/src/transformers/utils/hp_naming.py", "repo_id": "AdaMix", "token_count": 2386 }
62
# coding=utf-8 # Copyright 2021 {{cookiecutter.authors}} The HuggingFace Inc. 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...
AdaMix/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/modeling_{{cookiecutter.lowercase_modelname}}.py/0
{ "file_path": "AdaMix/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/modeling_{{cookiecutter.lowercase_modelname}}.py", "repo_id": "AdaMix", "token_count": 65578 }
63
# Copyright 2020 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 applicabl...
AdaMix/tests/test_data_collator.py/0
{ "file_path": "AdaMix/tests/test_data_collator.py", "repo_id": "AdaMix", "token_count": 4896 }
64
# coding=utf-8 # Copyright 2020 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 requir...
AdaMix/tests/test_modeling_albert.py/0
{ "file_path": "AdaMix/tests/test_modeling_albert.py", "repo_id": "AdaMix", "token_count": 5583 }
65
# coding=utf-8 # Copyright 2020 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 requir...
AdaMix/tests/test_modeling_electra.py/0
{ "file_path": "AdaMix/tests/test_modeling_electra.py", "repo_id": "AdaMix", "token_count": 6144 }
66
# coding=utf-8 # Copyright 2021, The HuggingFace Inc. 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 ...
AdaMix/tests/test_modeling_mbart.py/0
{ "file_path": "AdaMix/tests/test_modeling_mbart.py", "repo_id": "AdaMix", "token_count": 11671 }
67
# coding=utf-8 # Copyright 2020 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 requir...
AdaMix/tests/test_modeling_tf_longformer.py/0
{ "file_path": "AdaMix/tests/test_modeling_tf_longformer.py", "repo_id": "AdaMix", "token_count": 14745 }
68
# coding=utf-8 # Copyright 2020 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 requir...
AdaMix/tests/test_modeling_tf_xlnet.py/0
{ "file_path": "AdaMix/tests/test_modeling_tf_xlnet.py", "repo_id": "AdaMix", "token_count": 14047 }
69
# Copyright 2020 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 applicabl...
AdaMix/tests/test_pipelines_question_answering.py/0
{ "file_path": "AdaMix/tests/test_pipelines_question_answering.py", "repo_id": "AdaMix", "token_count": 3814 }
70
# coding=utf-8 # Copyright 2020 Ecole Polytechnique and HuggingFace Inc. team. # # 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 re...
AdaMix/tests/test_tokenization_barthez.py/0
{ "file_path": "AdaMix/tests/test_tokenization_barthez.py", "repo_id": "AdaMix", "token_count": 1067 }
71
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors, Allegro.pl and The HuggingFace Inc. team. # # 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/li...
AdaMix/tests/test_tokenization_herbert.py/0
{ "file_path": "AdaMix/tests/test_tokenization_herbert.py", "repo_id": "AdaMix", "token_count": 2004 }
72
# 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 applicabl...
AdaMix/tests/test_tokenization_speech_to_text.py/0
{ "file_path": "AdaMix/tests/test_tokenization_speech_to_text.py", "repo_id": "AdaMix", "token_count": 2284 }
73
# coding=utf-8 # Copyright 2018 the HuggingFace Inc. team. # # 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...
AdaMix/tests/test_trainer_utils.py/0
{ "file_path": "AdaMix/tests/test_trainer_utils.py", "repo_id": "AdaMix", "token_count": 3818 }
74
# coding=utf-8 # Copyright 2020 The HuggingFace Inc. team. # # 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...
AdaMix/utils/style_doc.py/0
{ "file_path": "AdaMix/utils/style_doc.py", "repo_id": "AdaMix", "token_count": 9916 }
75
## Using ADRL Binaries ### Linux - Downloading - Use the [download_linux_binaries.sh](../download_linux_binaries.sh) script. - Python client: `pip install airsimdroneracinglab` - Running - Running in windowed mode: ``` ./ADRL/ADRL.sh -windowed ``` - Running headless ...
AirSim-Drone-Racing-Lab/docs/using_binaries.md/0
{ "file_path": "AirSim-Drone-Racing-Lab/docs/using_binaries.md", "repo_id": "AirSim-Drone-Racing-Lab", "token_count": 740 }
76
from baseline_racer import BaselineRacer from gtp_visualize import * from utils import to_airsim_vector, to_airsim_vectors import airsimneurips as airsim import argparse import gtp import numpy as np import time # Use non interactive matplotlib backend import matplotlib matplotlib.use("TkAgg") import matplotlib.pyplot ...
AirSim-NeurIPS2019-Drone-Racing/baselines/baseline_racer_gtp.py/0
{ "file_path": "AirSim-NeurIPS2019-Drone-Racing/baselines/baseline_racer_gtp.py", "repo_id": "AirSim-NeurIPS2019-Drone-Racing", "token_count": 4514 }
77
[flake8] ignore = # line too long, defer to black E501 # allow line breaks before binary ops W503 # allow line breaks after binary ops W504 # allow whitespace before ':' (https://github.com/psf/black#slices) E203 exclude = .bzr .git .hg .svn .tox CVS .venv*/ venv*/ */samples/* ta...
ApplicationInsights-Python/.flake8/0
{ "file_path": "ApplicationInsights-Python/.flake8", "repo_id": "ApplicationInsights-Python", "token_count": 169 }
78
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License in the project root for # license information. # ------------------------------------------------------------------------- from azure.mon...
ApplicationInsights-Python/azure-monitor-events-extension/azure/monitor/events/extension/__init__.py/0
{ "file_path": "ApplicationInsights-Python/azure-monitor-events-extension/azure/monitor/events/extension/__init__.py", "repo_id": "ApplicationInsights-Python", "token_count": 92 }
79
#!/bin/bash set -o errexit set -o pipefail set -o nounset # Uncomment this line to see each command for debugging (careful: this will show secrets!) # set -o xtrace # usage: consolidate_env.sh [workdir] [file] WORKDIR=${1:-"automatic"} FILE=${2:-"automatic"} # YQ query to get leaf keys GET_LEAF_KEYS=".. | select(. =...
AzureTRE/.devcontainer/scripts/consolidate_env.sh/0
{ "file_path": "AzureTRE/.devcontainer/scripts/consolidate_env.sh", "repo_id": "AzureTRE", "token_count": 303 }
80
source "https://rubygems.org" gem "github-pages", group: :jekyll_plugins # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem # and associated library. platforms :mingw, :x64_mingw, :mswin, :jruby do gem "tzinfo", "~> 1.2" gem "tzinfo-data" end # Performance-booster for watching dir...
AzureTRE/GEMFILE/0
{ "file_path": "AzureTRE/GEMFILE", "repo_id": "AzureTRE", "token_count": 274 }
81
import logging from typing import Optional import azure.functions as func import datetime import os import uuid import json from exceptions import NoFilesInRequestException, TooManyFilesInRequestException from shared_code import blob_operations, constants from pydantic import BaseModel, parse_obj_as class RequestP...
AzureTRE/airlock_processor/StatusChangedQueueTrigger/__init__.py/0
{ "file_path": "AzureTRE/airlock_processor/StatusChangedQueueTrigger/__init__.py", "repo_id": "AzureTRE", "token_count": 4510 }
82
# API configuration # ----------------- # When debug is set to True, debugging information for unhandled exceptions is shown in the swagger UI and logging is more verbose # LOGGING_LEVEL can be set to DEBUG, INFO, WARNING, ERROR or CRITICAL LOGGING_LEVEL="INFO" # OAUTH information - client ids etc. for the Microsoft E...
AzureTRE/api_app/.env.sample/0
{ "file_path": "AzureTRE/api_app/.env.sample", "repo_id": "AzureTRE", "token_count": 852 }
83
from typing import Optional from fastapi import APIRouter, Depends, HTTPException, status as status_code, Response from jsonschema.exceptions import ValidationError from api.helpers import get_repository from db.repositories.resources_history import ResourceHistoryRepository from db.repositories.user_resources import...
AzureTRE/api_app/api/routes/airlock.py/0
{ "file_path": "AzureTRE/api_app/api/routes/airlock.py", "repo_id": "AzureTRE", "token_count": 6308 }
84
from typing import List from starlette.config import Config from _version import __version__ try: config = Config('.env') # Workaround needed until FastAPI uses Starlette >= 3.7.1 except FileNotFoundError: config = Config() # API settings API_PREFIX = "/api" PROJECT_NAME: str = config("PROJECT_NAME", default=...
AzureTRE/api_app/core/config.py/0
{ "file_path": "AzureTRE/api_app/core/config.py", "repo_id": "AzureTRE", "token_count": 1428 }
85
from sqlite3 import InternalError from typing import List, Tuple import uuid from pydantic import parse_obj_as from models.domain.resource_template import ResourceTemplate from models.domain.authentication import User from db.repositories.resource_templates import ResourceTemplateRepository from db.repositories.resour...
AzureTRE/api_app/db/repositories/shared_services.py/0
{ "file_path": "AzureTRE/api_app/db/repositories/shared_services.py", "repo_id": "AzureTRE", "token_count": 1453 }
86
from typing import Dict, List, Optional from models.domain.azuretremodel import AzureTREModel from models.domain.airlock_request import AirlockFile, AirlockRequestStatus, AirlockRequestType class AirlockNotificationUserData(AzureTREModel): name: str email: str class AirlockNotificationRequestData(AzureTREM...
AzureTRE/api_app/models/domain/events.py/0
{ "file_path": "AzureTRE/api_app/models/domain/events.py", "repo_id": "AzureTRE", "token_count": 366 }
87
from pydantic import BaseModel class Metadata(BaseModel): api_version: str api_client_id: str api_root_scope: str aad_tenant_id: str
AzureTRE/api_app/models/schemas/metadata.py/0
{ "file_path": "AzureTRE/api_app/models/schemas/metadata.py", "repo_id": "AzureTRE", "token_count": 61 }
88
from mock import MagicMock import pytest from api.dependencies.database import Database pytestmark = pytest.mark.asyncio async def test_get_container_proxy(): container_name = "test_container" container_proxy = await Database().get_container_proxy(container_name) assert isinstance(container_proxy, Magic...
AzureTRE/api_app/tests_ma/test_api/dependencies/test_database.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_api/dependencies/test_database.py", "repo_id": "AzureTRE", "token_count": 99 }
89
import random from unittest.mock import AsyncMock import uuid from pydantic import Field import pytest from mock import patch from fastapi import status from tests_ma.test_api.test_routes.test_resource_helpers import FAKE_CREATE_TIMESTAMP, FAKE_UPDATE_TIMESTAMP from tests_ma.test_api.conftest import create_admin_user,...
AzureTRE/api_app/tests_ma/test_api/test_routes/test_workspaces.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_api/test_routes/test_workspaces.py", "repo_id": "AzureTRE", "token_count": 45638 }
90
import pytest import pytest_asyncio from mock import patch from db.errors import DuplicateEntity, EntityDoesNotExist from db.repositories.resource_templates import ResourceTemplateRepository from models.domain.resource import ResourceType from models.domain.user_resource_template import UserResourceTemplate pytestma...
AzureTRE/api_app/tests_ma/test_db/test_repositories/test_user_resource_templates_repository.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_db/test_repositories/test_user_resource_templates_repository.py", "repo_id": "AzureTRE", "token_count": 1985 }
91
import asyncio from unittest.mock import AsyncMock, MagicMock import pytest from azure.core.exceptions import ServiceRequestError from azure.servicebus.exceptions import ServiceBusConnectionError from mock import patch from models.schemas.status import StatusEnum from resources import strings from services import healt...
AzureTRE/api_app/tests_ma/test_services/test_health_checker.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_services/test_health_checker.py", "repo_id": "AzureTRE", "token_count": 2188 }
92
#!/usr/bin/env python from setuptools import find_packages from setuptools import setup PROJECT = 'azure-tre-cli' VERSION = '0.2.2' try: long_description = open('README.md', 'rt').read() except IOError: long_description = '' setup( name=PROJECT, version=VERSION, description='Experimental TRE CL...
AzureTRE/cli/setup.py/0
{ "file_path": "AzureTRE/cli/setup.py", "repo_id": "AzureTRE", "token_count": 633 }
93
import logging import click from tre.api_client import ApiClient from tre.output import output, output_option, query_option from .contexts import WorkspaceTemplateContext, pass_workspace_template_context def template_name_completion(ctx: click.Context, param: click.Parameter, incomplete: str): log = logging.getL...
AzureTRE/cli/tre/commands/workspace_templates/workspace_template.py/0
{ "file_path": "AzureTRE/cli/tre/commands/workspace_templates/workspace_template.py", "repo_id": "AzureTRE", "token_count": 585 }
94
import click from tre.commands.workspaces.workspace_services.contexts import WorkspaceServiceContext class UserResourceContext(object): def __init__(self, workspace_id: str, workspace_service_id: str, user_resource_id): self.workspace_id = workspace_id self.workspace_service_id = workspace_servic...
AzureTRE/cli/tre/commands/workspaces/workspace_services/user_resources/contexts.py/0
{ "file_path": "AzureTRE/cli/tre/commands/workspaces/workspace_services/user_resources/contexts.py", "repo_id": "AzureTRE", "token_count": 626 }
95
locals { # STorage AirLock EXternal import_external_storage_name = lower(replace("stalimex${var.tre_id}", "-", "")) # STorage AirLock IMport InProgress import_in_progress_storage_name = lower(replace("stalimip${var.tre_id}", "-", "")) # STorage AirLock IMport REJected import_rejected_storage_name = lower(re...
AzureTRE/core/terraform/airlock/locals.tf/0
{ "file_path": "AzureTRE/core/terraform/airlock/locals.tf", "repo_id": "AzureTRE", "token_count": 1250 }
96
# Log Analytics resource "azurerm_log_analytics_workspace" "core" { name = "log-${var.tre_id}" resource_group_name = var.resource_group_name location = var.location retention_in_days = 30 sku = "PerGB2018" tags ...
AzureTRE/core/terraform/azure-monitor/azure-monitor.tf/0
{ "file_path": "AzureTRE/core/terraform/azure-monitor/azure-monitor.tf", "repo_id": "AzureTRE", "token_count": 1995 }
97
locals { myip = var.public_deployment_ip_address != "" ? var.public_deployment_ip_address : chomp(data.http.myip[0].response_body) tre_core_tags = { tre_id = var.tre_id tre_core_service_id = var.tre_id } api_diagnostic_categories_enabled = [ "AppServiceHTTPLogs", "AppServiceConsoleLogs...
AzureTRE/core/terraform/locals.tf/0
{ "file_path": "AzureTRE/core/terraform/locals.tf", "repo_id": "AzureTRE", "token_count": 836 }
98
terraform { # In modules we should only specify the min version required_providers { azurerm = { source = "hashicorp/azurerm" version = ">= 3.8" } random = { source = "hashicorp/random" version = ">= 3.0" } local = { source = "hashicorp/local" version = ">=...
AzureTRE/core/terraform/resource_processor/vmss_porter/main.tf/0
{ "file_path": "AzureTRE/core/terraform/resource_processor/vmss_porter/main.tf", "repo_id": "AzureTRE", "token_count": 2818 }
99
#!/bin/bash # This script is designed to be `source`d to create reusable helper functions function show_existing_app_usage() { cat << USAGE Utility script for retrieve applications in AD; either by name or ID. Notes: Before Az CLI 2.37 this would return a json document with .objectId; that is now .id Usage: $0...
AzureTRE/devops/scripts/aad/get_existing_app.sh/0
{ "file_path": "AzureTRE/devops/scripts/aad/get_existing_app.sh", "repo_id": "AzureTRE", "token_count": 695 }
100
#!/bin/bash set -o errexit set -o pipefail # Uncomment this line to see each command for debugging (careful: this will show secrets!) #set -o xtrace function usage() { cat <<USAGE Usage: $0 [--propertyName propertyValue...] Additional bundle properties to be passed to the bundle on install can be pa...
AzureTRE/devops/scripts/deploy_shared_service.sh/0
{ "file_path": "AzureTRE/devops/scripts/deploy_shared_service.sh", "repo_id": "AzureTRE", "token_count": 1174 }
101
#!/bin/bash set -e private_env_path="./core/private.env" : "${TRE_ID?"You have not set your TRE_ID in ./config_yaml"}" : "${RESOURCE_GROUP_NAME?"Check RESOURCE_GROUP_NAME is defined in ${private_env_path}"}" : "${SERVICE_BUS_RESOURCE_ID?"Check SERVICE_BUS_RESOURCE_ID is defined in ${private_env_path}"}" : "${STATE_ST...
AzureTRE/devops/scripts/setup_local_debugging.sh/0
{ "file_path": "AzureTRE/devops/scripts/setup_local_debugging.sh", "repo_id": "AzureTRE", "token_count": 2688 }
102
# Compliance Information !!! info Coming soon We're working to improve our documentation, and fill in some gaps. Unfortunately, this particular page is one of the gaps we're looking to fill and isn't yet available. ## How to Contribute to our Documentation If you have any comments or suggestions about our docum...
AzureTRE/docs/azure-tre-overview/compliance-info.md/0
{ "file_path": "AzureTRE/docs/azure-tre-overview/compliance-info.md", "repo_id": "AzureTRE", "token_count": 218 }
103
# The Application Administrator Identity ## Purpose This identity's credentials are stored in the core key vault and are used when you wish to update Microsoft Entra ID Applications. For instance, when you add Guacamole as a Workspace Service, you would need to add the URI of the Guacamole Service as a Redirect URI to...
AzureTRE/docs/tre-admins/identities/application_admin.md/0
{ "file_path": "AzureTRE/docs/tre-admins/identities/application_admin.md", "repo_id": "AzureTRE", "token_count": 828 }
104
# Prerequisites To deploy an Azure TRE instance, the following assets and tools are required: * [Azure subscription](https://azure.microsoft.com) * [Microsoft Entra ID](https://learn.microsoft.com/en-gb/entra/fundamentals/whatis) tenant in which you can create application registrations * Git client such as [Git](http...
AzureTRE/docs/tre-admins/setup-instructions/prerequisites.md/0
{ "file_path": "AzureTRE/docs/tre-admins/setup-instructions/prerequisites.md", "repo_id": "AzureTRE", "token_count": 386 }
105
# How to release an AzureTRE version A release is created when enough changes have been made and the main branch is stable enough. The process follows these steps: 1. Update `CHANGELOG.md` in a PR with the following: 1. Rename the top-most verion noted as unreleaed with the version number that makes sense. Note t...
AzureTRE/docs/tre-developers/release.md/0
{ "file_path": "AzureTRE/docs/tre-developers/release.md", "repo_id": "AzureTRE", "token_count": 663 }
106
# Gitea Workspace Service See: [https://gitea.io/](https://gitea.io) ## Firewall Rules The Gitea worskpace service opens outbound access to: - AzureActiveDirectory - Microsoft Entra ID CDN - `https://aadcdn.msftauth.net` ## Prerequisites - [A base workspace deployed](../workspaces/base.md) - The Gitea workspace ...
AzureTRE/docs/tre-templates/workspace-services/gitea.md/0
{ "file_path": "AzureTRE/docs/tre-templates/workspace-services/gitea.md", "repo_id": "AzureTRE", "token_count": 352 }
107
# API logs using deployment center Check that the version you are debugging/troubleshooting is the same one deployed on the App Service. You can check this in Azure's Deployment Center, or follow the logs as generated by the container in the logs tabs. ![Deployment Center](../assets/api_deployment_center.png)
AzureTRE/docs/troubleshooting-faq/api-logs-deployment-center.md/0
{ "file_path": "AzureTRE/docs/troubleshooting-faq/api-logs-deployment-center.md", "repo_id": "AzureTRE", "token_count": 79 }
108
# Set up of a Virtual Machine This document will talk you through how to deploy a Virtual Machine via the Guacamole Workspace Service and access imported data. ## Creating your VM 1. Open the UI link `https://<TRE_ID>.<LOCATION>.cloudapp.azure.com/` 1. You will need the Microsoft Authenticator app on your phone....
AzureTRE/docs/using-tre/tre-for-research/using-vms.md/0
{ "file_path": "AzureTRE/docs/using-tre/tre-for-research/using-vms.md", "repo_id": "AzureTRE", "token_count": 915 }
109
import logging from httpx import AsyncClient, Timeout from typing import Tuple from e2e_tests.helpers import get_auth_header, get_full_endpoint, get_token LOGGER = logging.getLogger(__name__) TIMEOUT = Timeout(10, read=30) async def get_workspace(client, workspace_id: str, headers) -> dict: full_endpoint = get_f...
AzureTRE/e2e_tests/resources/workspace.py/0
{ "file_path": "AzureTRE/e2e_tests/resources/workspace.py", "repo_id": "AzureTRE", "token_count": 571 }
110
{ "action":"install", "id":"0c03ba50-f671-4bf1-9312-97b5f14e42cc", "name":"tre-workspace-base", "version":"0.1.0", "parameters":{ "address_space":"10.2.1.0/24", "azure_location":"westeurope", "tre_id":"cse-msr-dev", "workspace_id":"42cc" } }
AzureTRE/resource_processor/test_tools/service_bus_message_sender/createWorkspaceRequestData.json/0
{ "file_path": "AzureTRE/resource_processor/test_tools/service_bus_message_sender/createWorkspaceRequestData.json", "repo_id": "AzureTRE", "token_count": 136 }
111
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://github.com/microsoft/AzureTRE/templates/shared_services/admin-vm/template_schema.json", "type": "object", "title": "Admin VM Shared Service", "description": "Provides VM in the core network", "required": [], "properties": { "admin_...
AzureTRE/templates/shared_services/admin-vm/template_schema.json/0
{ "file_path": "AzureTRE/templates/shared_services/admin-vm/template_schema.json", "repo_id": "AzureTRE", "token_count": 306 }
112
{ "schemaType": "ParameterSet", "schemaVersion": "1.0.1", "namespace": "", "name": "tre-shared-service-airlock-notifier", "parameters": [ { "name": "tre_id", "source": { "env": "TRE_ID" } }, { "name": "tre_url", "source": { "env": "TRE_URL" } ...
AzureTRE/templates/shared_services/airlock_notifier/parameters.json/0
{ "file_path": "AzureTRE/templates/shared_services/airlock_notifier/parameters.json", "repo_id": "AzureTRE", "token_count": 948 }
113
{ "schemaType": "ParameterSet", "schemaVersion": "1.0.1", "namespace": "", "name": "tre-shared-service-certs", "parameters": [ { "name": "tre_id", "source": { "env": "TRE_ID" } }, { "name": "tfstate_container_name", "source": { "env": "TERRAFORM_STATE_...
AzureTRE/templates/shared_services/certs/parameters.json/0
{ "file_path": "AzureTRE/templates/shared_services/certs/parameters.json", "repo_id": "AzureTRE", "token_count": 621 }
114
--- schemaVersion: 1.0.0 name: tre-shared-service-databricks-private-auth version: 0.1.5 description: "An Azure TRE shared service for Azure Databricks authentication." registry: azuretre dockerfile: Dockerfile.tmpl credentials: - name: azure_tenant_id env: ARM_TENANT_ID - name: azure_subscription_id env:...
AzureTRE/templates/shared_services/databricks-auth/porter.yaml/0
{ "file_path": "AzureTRE/templates/shared_services/databricks-auth/porter.yaml", "repo_id": "AzureTRE", "token_count": 1211 }
115
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://github.com/microsoft/AzureTRE/templates/shared_services/firewall/template_schema.json", "type": "object", "title": "Firewall Shared Service", "description": "Provides Firewall shared service", "required": [], "properties": { "rule_...
AzureTRE/templates/shared_services/firewall/template_schema.json/0
{ "file_path": "AzureTRE/templates/shared_services/firewall/template_schema.json", "repo_id": "AzureTRE", "token_count": 5462 }
116
{ "schemaType": "ParameterSet", "schemaVersion": "1.0.1", "namespace": "", "name": "tre-shared-service-gitea", "parameters": [ { "name": "tre_id", "source": { "env": "TRE_ID" } }, { "name": "id", "source": { "env": "ID" } }, { "name...
AzureTRE/templates/shared_services/gitea/parameters.json/0
{ "file_path": "AzureTRE/templates/shared_services/gitea/parameters.json", "repo_id": "AzureTRE", "token_count": 562 }
117
{ "schemaType": "ParameterSet", "schemaVersion": "1.0.1", "namespace": "", "name": "tre-shared-service-sonatype-nexus", "parameters": [ { "name": "tre_id", "source": { "env": "TRE_ID" } }, { "name": "id", "source": { "env": "ID" } }, { ...
AzureTRE/templates/shared_services/sonatype-nexus-vm/parameters.json/0
{ "file_path": "AzureTRE/templates/shared_services/sonatype-nexus-vm/parameters.json", "repo_id": "AzureTRE", "token_count": 567 }
118
variable "workspace_id" { type = string } variable "tre_id" { type = string } variable "vm_size_sku" { type = string } variable "tre_resource_id" { type = string } variable "parent_service_id" { type = string } variable "auth_tenant_id" { type = string } variable "user_object_id" { type = string }
AzureTRE/templates/workspace_services/azureml/user_resources/aml_compute/terraform/variables.tf/0
{ "file_path": "AzureTRE/templates/workspace_services/azureml/user_resources/aml_compute/terraform/variables.tf", "repo_id": "AzureTRE", "token_count": 117 }
119
terraform { required_providers { azurerm = { source = "hashicorp/azurerm" version = "=3.40.0" } azapi = { source = "Azure/azapi" version = "=1.1.0" } databricks = { source = "databricks/databricks" version = "=1.5.0" } dns = { source = "hashico...
AzureTRE/templates/workspace_services/databricks/terraform/providers.tf/0
{ "file_path": "AzureTRE/templates/workspace_services/databricks/terraform/providers.tf", "repo_id": "AzureTRE", "token_count": 748 }
120
#!/usr/bin/env sh echo >&2 "guacd exited. code=${1}" # terminate other services to exit from the container exec s6-svscanctl -t /var/run/s6/services
AzureTRE/templates/workspace_services/guacamole/guacamole-server/docker/services/guacd/finish/0
{ "file_path": "AzureTRE/templates/workspace_services/guacamole/guacamole-server/docker/services/guacd/finish", "repo_id": "AzureTRE", "token_count": 54 }
121
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
AzureTRE/templates/workspace_services/guacamole/guacamole-server/guacamole-auth-azure/src/main/java/org/apache/guacamole/auth/azuretre/connection/TokenInjectingConnection.java/0
{ "file_path": "AzureTRE/templates/workspace_services/guacamole/guacamole-server/guacamole-auth-azure/src/main/java/org/apache/guacamole/auth/azuretre/connection/TokenInjectingConnection.java", "repo_id": "AzureTRE", "token_count": 1578 }
122
{ "schemaType": "ParameterSet", "schemaVersion": "1.0.1", "namespace": "", "name": "tre-service-guacamole", "parameters": [ { "name": "id", "source": { "env": "ID" } }, { "name": "workspace_id", "source": { "env": "WORKSPACE_ID" } }, { ...
AzureTRE/templates/workspace_services/guacamole/parameters.json/0
{ "file_path": "AzureTRE/templates/workspace_services/guacamole/parameters.json", "repo_id": "AzureTRE", "token_count": 1277 }
123