text
stringlengths
5
22M
id
stringlengths
12
177
metadata
dict
__index_level_0__
int64
0
1.37k
.. 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/dialogpt.rst/0
{ "file_path": "AdaMix/docs/source/model_doc/dialogpt.rst", "repo_id": "AdaMix", "token_count": 779 }
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/model_doc/m2m_100.rst/0
{ "file_path": "AdaMix/docs/source/model_doc/m2m_100.rst", "repo_id": "AdaMix", "token_count": 1816 }
29
TAPAS ----------------------------------------------------------------------------------------------------------------------- .. note:: This is a recently introduced model so the API hasn't been tested extensively. There may be some bugs or slight breaking changes to fix them in the future. Overview ~~~~~~...
AdaMix/docs/source/model_doc/tapas.rst/0
{ "file_path": "AdaMix/docs/source/model_doc/tapas.rst", "repo_id": "AdaMix", "token_count": 8683 }
30
.. 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/quicktour.rst/0
{ "file_path": "AdaMix/docs/source/quicktour.rst", "repo_id": "AdaMix", "token_count": 6716 }
31
<!--- 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 applicable law or ...
AdaMix/examples/language-modeling/README.md/0
{ "file_path": "AdaMix/examples/language-modeling/README.md", "repo_id": "AdaMix", "token_count": 1759 }
32
# 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/legacy/question-answering/run_squad.py/0
{ "file_path": "AdaMix/examples/legacy/question-answering/run_squad.py", "repo_id": "AdaMix", "token_count": 14598 }
33
# 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/examples/legacy/seq2seq/old_test_calculate_rouge.py/0
{ "file_path": "AdaMix/examples/legacy/seq2seq/old_test_calculate_rouge.py", "repo_id": "AdaMix", "token_count": 1697 }
34
# 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/examples/legacy/seq2seq/seq2seq_trainer.py/0
{ "file_path": "AdaMix/examples/legacy/seq2seq/seq2seq_trainer.py", "repo_id": "AdaMix", "token_count": 5008 }
35
# 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/examples/legacy/seq2seq/utils.py/0
{ "file_path": "AdaMix/examples/legacy/seq2seq/utils.py", "repo_id": "AdaMix", "token_count": 10926 }
36
<!--- 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 applicable law or ...
AdaMix/examples/question-answering/README.md/0
{ "file_path": "AdaMix/examples/question-answering/README.md", "repo_id": "AdaMix", "token_count": 3024 }
37
#!/bin/bash export CUDA_VISIBLE_DEVICES=0 PATH_TO_DATA=/h/xinji/projects/GLUE MODEL_TYPE=bert # bert or roberta MODEL_SIZE=base # base or large DATASET=MRPC # SST-2, MRPC, RTE, QNLI, QQP, or MNLI MODEL_NAME=${MODEL_TYPE}-${MODEL_SIZE} if [ $MODEL_TYPE = 'bert' ] then MODEL_NAME=${MODEL_NAME}-uncased fi ENTROPI...
AdaMix/examples/research_projects/deebert/entropy_eval.sh/0
{ "file_path": "AdaMix/examples/research_projects/deebert/entropy_eval.sh", "repo_id": "AdaMix", "token_count": 437 }
38
# 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/extract.py/0
{ "file_path": "AdaMix/examples/research_projects/distillation/scripts/extract.py", "repo_id": "AdaMix", "token_count": 2002 }
39
import getopt import json import os # import numpy as np import sys from collections import OrderedDict import datasets import numpy as np import torch from modeling_frcnn import GeneralizedRCNN from processing_image import Preprocess from utils import Config """ USAGE: ``python extracting_data.py -i <img_dir> -o ...
AdaMix/examples/research_projects/lxmert/extracting_data.py/0
{ "file_path": "AdaMix/examples/research_projects/lxmert/extracting_data.py", "repo_id": "AdaMix", "token_count": 2531 }
40
# Copyright 2020-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 applicable law o...
AdaMix/examples/research_projects/movement-pruning/counts_parameters.py/0
{ "file_path": "AdaMix/examples/research_projects/movement-pruning/counts_parameters.py", "repo_id": "AdaMix", "token_count": 1361 }
41
# Plug and Play Language Models: a Simple Approach to Controlled Text Generation Authors: [Sumanth Dathathri](https://dathath.github.io/), [Andrea Madotto](https://andreamad8.github.io/), Janice Lan, Jane Hung, Eric Frank, [Piero Molino](https://w4nderlu.st/), [Jason Yosinski](http://yosinski.com/), and [Rosanne Liu](...
AdaMix/examples/research_projects/pplm/README.md/0
{ "file_path": "AdaMix/examples/research_projects/pplm/README.md", "repo_id": "AdaMix", "token_count": 716 }
42
# Add parent directory to python path to access lightning_base.py export PYTHONPATH="../":"${PYTHONPATH}" # A sample finetuning run, you need to specify data_dir, output_dir and model_name_or_path # run ./examples/rag/finetune_rag.sh --help to see all the possible options python examples/rag/finetune_rag.py \ --d...
AdaMix/examples/research_projects/rag/finetune_rag.sh/0
{ "file_path": "AdaMix/examples/research_projects/rag/finetune_rag.sh", "repo_id": "AdaMix", "token_count": 440 }
43
#!/usr/bin/env bash export PYTHONPATH="../":"${PYTHONPATH}" export WANDB_PROJECT=dmar # export MAX_LEN=128 python distillation.py \ --learning_rate=3e-4 \ --do_train \ --fp16 \ --val_check_interval 0.25 \ --teacher Helsinki-NLP/opus-mt-en-ro \ --max_source_length $MAX_LEN --max_target_length $MAX_LEN --val_...
AdaMix/examples/research_projects/seq2seq-distillation/distil_marian_enro_teacher.sh/0
{ "file_path": "AdaMix/examples/research_projects/seq2seq-distillation/distil_marian_enro_teacher.sh", "repo_id": "AdaMix", "token_count": 310 }
44
#!/usr/bin/env bash export PYTHONPATH="../":"${PYTHONPATH}" python distillation.py \ --teacher facebook/bart-large-xsum --data_dir xsum \ --tokenizer_name facebook/bart-large-xsum \ --student_decoder_layers 6 --student_encoder_layers 12 \ --freeze_encoder --freeze_embeds \ --learning_rate=3e-4 \ --do_train ...
AdaMix/examples/research_projects/seq2seq-distillation/train_distilbart_xsum.sh/0
{ "file_path": "AdaMix/examples/research_projects/seq2seq-distillation/train_distilbart_xsum.sh", "repo_id": "AdaMix", "token_count": 317 }
45
<!--- 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 applicable law or ...
AdaMix/examples/token-classification/README.md/0
{ "file_path": "AdaMix/examples/token-classification/README.md", "repo_id": "AdaMix", "token_count": 1506 }
46
--- language: en tags: - tapas - masked-lm license: apache-2.0 --- # TAPAS base model This model corresponds to the `tapas_inter_masklm_base_reset` checkpoint of the [original Github repository](https://github.com/google-research/tapas). Disclaimer: The team releasing TAPAS did not write a model card for this mode...
AdaMix/model_cards/google/tapas-base/README.md/0
{ "file_path": "AdaMix/model_cards/google/tapas-base/README.md", "repo_id": "AdaMix", "token_count": 1745 }
47
#!/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/LICENS...
AdaMix/scripts/fsmt/fsmt-make-super-tiny-model.py/0
{ "file_path": "AdaMix/scripts/fsmt/fsmt-make-super-tiny-model.py", "repo_id": "AdaMix", "token_count": 1251 }
48
# 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.py/0
{ "file_path": "AdaMix/src/transformers/benchmark/benchmark.py", "repo_id": "AdaMix", "token_count": 4766 }
49
# 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/commands/user.py/0
{ "file_path": "AdaMix/src/transformers/commands/user.py", "repo_id": "AdaMix", "token_count": 6690 }
50
# coding=utf-8 # Copyright 2021 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/feature_extraction_utils.py/0
{ "file_path": "AdaMix/src/transformers/feature_extraction_utils.py", "repo_id": "AdaMix", "token_count": 8845 }
51
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors, Facebook AI Research 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 L...
AdaMix/src/transformers/modeling_utils.py/0
{ "file_path": "AdaMix/src/transformers/modeling_utils.py", "repo_id": "AdaMix", "token_count": 38629 }
52
# coding=utf-8 # Copyright 2021, The Facebook, Inc. and 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/src/transformers/models/blenderbot_small/tokenization_blenderbot_small_fast.py/0
{ "file_path": "AdaMix/src/transformers/models/blenderbot_small/tokenization_blenderbot_small_fast.py", "repo_id": "AdaMix", "token_count": 1745 }
53
# coding=utf-8 # Copyright 2018 Salesforce 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 at # # h...
AdaMix/src/transformers/models/ctrl/modeling_tf_ctrl.py/0
{ "file_path": "AdaMix/src/transformers/models/ctrl/modeling_tf_ctrl.py", "repo_id": "AdaMix", "token_count": 16850 }
54
# coding=utf-8 # Copyright 2019 The Open AI 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/LICENSE-2.0 # # ...
AdaMix/src/transformers/models/fsmt/tokenization_fsmt.py/0
{ "file_path": "AdaMix/src/transformers/models/fsmt/tokenization_fsmt.py", "repo_id": "AdaMix", "token_count": 9015 }
55
# coding=utf-8 # Copyright 2018 The Microsoft Research Asia LayoutLM Team Authors. # # 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 # # Unles...
AdaMix/src/transformers/models/layoutlm/tokenization_layoutlm_fast.py/0
{ "file_path": "AdaMix/src/transformers/models/layoutlm/tokenization_layoutlm_fast.py", "repo_id": "AdaMix", "token_count": 904 }
56
# coding=utf-8 # Copyright 2018 Hao Tan, Mohit Bansal, and the HuggingFace 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 r...
AdaMix/src/transformers/models/lxmert/modeling_lxmert.py/0
{ "file_path": "AdaMix/src/transformers/models/lxmert/modeling_lxmert.py", "repo_id": "AdaMix", "token_count": 27557 }
57
# 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/modeling_tf_mpnet.py/0
{ "file_path": "AdaMix/src/transformers/models/mpnet/modeling_tf_mpnet.py", "repo_id": "AdaMix", "token_count": 24030 }
58
# 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/configuration_openai.py/0
{ "file_path": "AdaMix/src/transformers/models/openai/configuration_openai.py", "repo_id": "AdaMix", "token_count": 3284 }
59
# coding=utf-8 # Copyright 2020 Google 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 required by...
AdaMix/src/transformers/models/pegasus/tokenization_pegasus.py/0
{ "file_path": "AdaMix/src/transformers/models/pegasus/tokenization_pegasus.py", "repo_id": "AdaMix", "token_count": 5005 }
60
# 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/configuration_reformer.py/0
{ "file_path": "AdaMix/src/transformers/models/reformer/configuration_reformer.py", "repo_id": "AdaMix", "token_count": 5297 }
61
# coding=utf-8 # Copyright 2020 The SqueezeBert 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/LICENSE-2.0 # # U...
AdaMix/src/transformers/models/squeezebert/tokenization_squeezebert_fast.py/0
{ "file_path": "AdaMix/src/transformers/models/squeezebert/tokenization_squeezebert_fast.py", "repo_id": "AdaMix", "token_count": 1135 }
62
# 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/modeling_transfo_xl.py/0
{ "file_path": "AdaMix/src/transformers/models/transfo_xl/modeling_transfo_xl.py", "repo_id": "AdaMix", "token_count": 24769 }
63
# 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/xlm_roberta/__init__.py/0
{ "file_path": "AdaMix/src/transformers/models/xlm_roberta/__init__.py", "repo_id": "AdaMix", "token_count": 1577 }
64
from ..file_utils import add_end_docstrings, is_tf_available, is_torch_available from ..tokenization_utils import TruncationStrategy from ..utils import logging from .base import PIPELINE_INIT_ARGS, Pipeline if is_tf_available(): import tensorflow as tf from ..models.auto.modeling_tf_auto import TF_MODEL_FOR...
AdaMix/src/transformers/pipelines/text2text_generation.py/0
{ "file_path": "AdaMix/src/transformers/pipelines/text2text_generation.py", "repo_id": "AdaMix", "token_count": 5145 }
65
# 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/trainer_tf.py/0
{ "file_path": "AdaMix/src/transformers/trainer_tf.py", "repo_id": "AdaMix", "token_count": 15501 }
66
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..file_utils import requires_tf class TensorFlowBenchmarkArguments: def __init__(self, *args, **kwargs): requires_tf(self) class TensorFlowBenchmark: def __init__(self, *args, **kwargs): requires_tf(self) def ...
AdaMix/src/transformers/utils/dummy_tf_objects.py/0
{ "file_path": "AdaMix/src/transformers/utils/dummy_tf_objects.py", "repo_id": "AdaMix", "token_count": 15737 }
67
# coding=utf-8 # Copyright {{cookiecutter.authors}} and 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}}/configuration_{{cookiecutter.lowercase_modelname}}.py/0
{ "file_path": "AdaMix/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/configuration_{{cookiecutter.lowercase_modelname}}.py", "repo_id": "AdaMix", "token_count": 5194 }
68
{ "modelname": "TemplateTF", "uppercase_modelname": "TEMPLATE_TF", "lowercase_modelname": "template_tf", "camelcase_modelname": "TemplateTf", "authors": "The HuggingFace Team", "checkpoint_identifier": "brand-new-bert-base-cased", "tokenizer_type": "Based on BERT", "generate_tensorflow_and_pytorch": "Te...
AdaMix/templates/adding_a_new_model/tests/tf-encoder-bert-tokenizer.json/0
{ "file_path": "AdaMix/templates/adding_a_new_model/tests/tf-encoder-bert-tokenizer.json", "repo_id": "AdaMix", "token_count": 145 }
69
# 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/tests/test_configuration_auto.py/0
{ "file_path": "AdaMix/tests/test_configuration_auto.py", "repo_id": "AdaMix", "token_count": 759 }
70
# coding=utf-8 # Copyright 2019 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 ag...
AdaMix/tests/test_model_card.py/0
{ "file_path": "AdaMix/tests/test_model_card.py", "repo_id": "AdaMix", "token_count": 1415 }
71
# 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_distilbert.py/0
{ "file_path": "AdaMix/tests/test_modeling_distilbert.py", "repo_id": "AdaMix", "token_count": 5293 }
72
# 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 r...
AdaMix/tests/test_modeling_m2m_100.py/0
{ "file_path": "AdaMix/tests/test_modeling_m2m_100.py", "repo_id": "AdaMix", "token_count": 6895 }
73
# 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_albert.py/0
{ "file_path": "AdaMix/tests/test_modeling_tf_albert.py", "repo_id": "AdaMix", "token_count": 6137 }
74
# 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_gpt2.py/0
{ "file_path": "AdaMix/tests/test_modeling_tf_gpt2.py", "repo_id": "AdaMix", "token_count": 8488 }
75
# 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_xlm.py/0
{ "file_path": "AdaMix/tests/test_modeling_tf_xlm.py", "repo_id": "AdaMix", "token_count": 5882 }
76
# 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_fill_mask.py/0
{ "file_path": "AdaMix/tests/test_pipelines_fill_mask.py", "repo_id": "AdaMix", "token_count": 4635 }
77
# 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_tokenization_auto.py/0
{ "file_path": "AdaMix/tests/test_tokenization_auto.py", "repo_id": "AdaMix", "token_count": 1976 }
78
# coding=utf-8 # Copyright 2020 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 law...
AdaMix/tests/test_tokenization_funnel.py/0
{ "file_path": "AdaMix/tests/test_tokenization_funnel.py", "repo_id": "AdaMix", "token_count": 1257 }
79
# 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_tokenization_roberta.py/0
{ "file_path": "AdaMix/tests/test_tokenization_roberta.py", "repo_id": "AdaMix", "token_count": 3882 }
80
# 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/tests/test_trainer_seq2seq.py/0
{ "file_path": "AdaMix/tests/test_trainer_seq2seq.py", "repo_id": "AdaMix", "token_count": 2179 }
81
# coding=utf-8 # 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 requir...
AdaMix/utils/release.py/0
{ "file_path": "AdaMix/utils/release.py", "repo_id": "AdaMix", "token_count": 3915 }
82
{ "editor.formatOnSave": true, "python.formatting.provider": "black" }
AirSim-Drone-Racing-Lab/.vscode/settings.json/0
{ "file_path": "AirSim-Drone-Racing-Lab/.vscode/settings.json", "repo_id": "AirSim-Drone-Racing-Lab", "token_count": 32 }
83
## Using Docker with Linux Binaries - Prerequisites: - Install [docker-ce](https://docs.docker.com/install/linux/docker-ce/ubuntu/). - Complete the desired [post-installation steps for linux](https://docs.docker.com/install/linux/linux-postinstall/) after installing docker. At the minimum, the page tells you ho...
AirSim-Drone-Racing-Lab/docs/docker.md/0
{ "file_path": "AirSim-Drone-Racing-Lab/docs/docker.md", "repo_id": "AirSim-Drone-Racing-Lab", "token_count": 665 }
84
import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import PercentFormatter def calculate_gate_stats(predictions, poses): # display averages mean_pred = np.mean(predictions, axis=0) mean_pose = np.mean(poses, axis=0) print('Means (prediction, GT) : R({} , {}) Theta({} , {}) Psi({}...
AirSim-Drone-Racing-VAE-Imitation/racing_utils/stats_utils.py/0
{ "file_path": "AirSim-Drone-Racing-VAE-Imitation/racing_utils/stats_utils.py", "repo_id": "AirSim-Drone-Racing-VAE-Imitation", "token_count": 1962 }
85
import glob import os import time disqualified_racers = set() finished_racers = set() def open_file(): list_of_files = glob.glob('*.log') latest_file = max(list_of_files, key=os.path.getctime) print("Opened file: " + latest_file) return open(latest_file, "r+") def follow(filename): filename.seek(...
AirSim-NeurIPS2019-Drone-Racing/scripts/logging/log_monitor.py/0
{ "file_path": "AirSim-NeurIPS2019-Drone-Racing/scripts/logging/log_monitor.py", "repo_id": "AirSim-NeurIPS2019-Drone-Racing", "token_count": 723 }
86
{ "name": "AzureTRE", // Uncomment when debugging using Jetbrains // "features": { // "ghcr.io/devcontainers/features/sshd:1": { // "version": "latest" // } // }, "build": { "context": "..", "dockerfile": "Dockerfile", "args": { // To ensure that the group ID for the docker g...
AzureTRE/.devcontainer/devcontainer.json/0
{ "file_path": "AzureTRE/.devcontainer/devcontainer.json", "repo_id": "AzureTRE", "token_count": 5697 }
87
from distutils.util import strtobool import logging import azure.functions as func import datetime import uuid import json import os from shared_code import constants, blob_operations def main(msg: func.ServiceBusMessage, outputEvent: func.Out[func.EventGridOutputEvent]): logging.info("Python ServiceBu...
AzureTRE/airlock_processor/ScanResultTrigger/__init__.py/0
{ "file_path": "AzureTRE/airlock_processor/ScanResultTrigger/__init__.py", "repo_id": "AzureTRE", "token_count": 980 }
88
from json import JSONDecodeError import os import pytest from mock import MagicMock, patch from pydantic import ValidationError from StatusChangedQueueTrigger import get_request_files, main, extract_properties, get_source_dest_for_copy, is_require_data_copy from azure.functions.servicebus import ServiceBusMessage from...
AzureTRE/airlock_processor/tests/test_status_change_queue_trigger.py/0
{ "file_path": "AzureTRE/airlock_processor/tests/test_status_change_queue_trigger.py", "repo_id": "AzureTRE", "token_count": 2766 }
89
from typing import Callable, Type from fastapi import HTTPException, status from db.errors import UnableToAccessDatabase from db.repositories.base import BaseRepository from resources.strings import UNABLE_TO_GET_STATE_STORE_CLIENT from services.logging import logger def get_repository(repo_type: Type[BaseRepositor...
AzureTRE/api_app/api/helpers.py/0
{ "file_path": "AzureTRE/api_app/api/helpers.py", "repo_id": "AzureTRE", "token_count": 299 }
90
import asyncio from fastapi import APIRouter, Depends, HTTPException, Header, status, Request, Response from jsonschema.exceptions import ValidationError from api.helpers import get_repository from api.dependencies.workspaces import get_operation_by_id_from_path, get_workspace_by_id_from_path, get_deployed_workspace...
AzureTRE/api_app/api/routes/workspaces.py/0
{ "file_path": "AzureTRE/api_app/api/routes/workspaces.py", "repo_id": "AzureTRE", "token_count": 13734 }
91
import copy import semantic_version from datetime import datetime from typing import Optional, Tuple, List from azure.cosmos.exceptions import CosmosResourceNotFoundError from core import config from db.errors import VersionDowngradeDenied, EntityDoesNotExist, MajorVersionUpdateDenied, TargetTemplateVersionDoesNotExis...
AzureTRE/api_app/db/repositories/resources.py/0
{ "file_path": "AzureTRE/api_app/db/repositories/resources.py", "repo_id": "AzureTRE", "token_count": 3590 }
92
from pydantic import BaseConfig, BaseModel class AzureTREModel(BaseModel): class Config(BaseConfig): allow_population_by_field_name = True arbitrary_types_allowed = True
AzureTRE/api_app/models/domain/azuretremodel.py/0
{ "file_path": "AzureTRE/api_app/models/domain/azuretremodel.py", "repo_id": "AzureTRE", "token_count": 66 }
93
from models.domain.costs import generate_cost_report_dict_example, GranularityEnum, \ generate_workspace_cost_report_dict_example def get_cost_report_responses(): return { 200: { "description": "Success", "content": { "application/json": { "e...
AzureTRE/api_app/models/schemas/costs.py/0
{ "file_path": "AzureTRE/api_app/models/schemas/costs.py", "repo_id": "AzureTRE", "token_count": 2708 }
94
[pytest] filterwarnings = error
AzureTRE/api_app/pytest.ini/0
{ "file_path": "AzureTRE/api_app/pytest.ini", "repo_id": "AzureTRE", "token_count": 15 }
95
import json from db.repositories.resources import ResourceRepository from db.repositories.resource_templates import ResourceTemplateRepository from db.repositories.resources_history import ResourceHistoryRepository from service_bus.helpers import send_deployment_message, update_resource_for_step from models.domain.aut...
AzureTRE/api_app/service_bus/resource_request_sender.py/0
{ "file_path": "AzureTRE/api_app/service_bus/resource_request_sender.py", "repo_id": "AzureTRE", "token_count": 1158 }
96
import pytest import pytest_asyncio from mock import patch from fastapi import FastAPI from httpx import AsyncClient from models.domain.authentication import User @pytest.fixture(autouse=True, scope='module') def no_lifespan_events(): with patch("main.lifespan"): yield @pytest.fixture(autouse=True) de...
AzureTRE/api_app/tests_ma/test_api/conftest.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_api/conftest.py", "repo_id": "AzureTRE", "token_count": 1185 }
97
import json import pytest from mock import patch from pydantic import parse_obj_as from starlette import status from services.authentication import get_current_admin_user, get_current_tre_user_or_tre_admin from db.errors import EntityDoesNotExist, EntityVersionExist, InvalidInput, UnableToAccessDatabase from models.d...
AzureTRE/api_app/tests_ma/test_api/test_routes/test_workspace_service_templates.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_api/test_routes/test_workspace_service_templates.py", "repo_id": "AzureTRE", "token_count": 3886 }
98
import pytest from mock import patch import pytest_asyncio from db.repositories.resource_templates import ResourceTemplateRepository from models.domain.resource import ResourceType from models.domain.resource_template import ResourceTemplate from .test_resource_templates_repository import sample_resource_template_as_di...
AzureTRE/api_app/tests_ma/test_db/test_repositories/test_shared_service_templates_repository.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_db/test_repositories/test_shared_service_templates_repository.py", "repo_id": "AzureTRE", "token_count": 831 }
99
import ipaddress import pytest from mock import patch import services.cidr_service generate_new_cidr_test_data = [ (["10.2.4.0/24", "10.1.0.0/16", "10.2.1.0/24", "10.2.3.0/24", "10.2.0.0/24", "10.2.2.0/24"], 24, "10.2.5.0/24"), (["10.2.4.0/24", "10.1.0.0/16", "10.2.1.0/24", "10.2.3.0/24", "10.2.0.0/24", "10.2...
AzureTRE/api_app/tests_ma/test_services/test_cidr_service.py/0
{ "file_path": "AzureTRE/api_app/tests_ma/test_services/test_cidr_service.py", "repo_id": "AzureTRE", "token_count": 1116 }
100
import logging import click from tre.api_client import ApiClient from tre.output import output, output_option, query_option from .contexts import SharedServiceTemplateContext, pass_shared_service_template_context def template_name_completion(ctx: click.Context, param: click.Parameter, incomplete: str): log = log...
AzureTRE/cli/tre/commands/shared_service_templates/shared_service_template.py/0
{ "file_path": "AzureTRE/cli/tre/commands/shared_service_templates/shared_service_template.py", "repo_id": "AzureTRE", "token_count": 601 }
101
import logging import click from tre.api_client import ApiClient from tre.commands.operation import operations_list from tre.output import output_option, query_option from .contexts import WorkspaceServiceContext, pass_workspace_service_context @click.group(name="operations", help="List operations ") def workspace_s...
AzureTRE/cli/tre/commands/workspaces/workspace_services/operations.py/0
{ "file_path": "AzureTRE/cli/tre/commands/workspaces/workspace_services/operations.py", "repo_id": "AzureTRE", "token_count": 416 }
102
data "azurerm_private_dns_zone" "eventgrid" { name = module.terraform_azurerm_environment_configuration.private_links["privatelink.eventgrid.azure.net"] resource_group_name = var.resource_group_name } # Below we assign a SYSTEM-assigned identity for the topics. note that a user-assigned identity wil...
AzureTRE/core/terraform/airlock/eventgrid_topics.tf/0
{ "file_path": "AzureTRE/core/terraform/airlock/eventgrid_topics.tf", "repo_id": "AzureTRE", "token_count": 6464 }
103
# See https://microsoft.github.io/AzureTRE/tre-developers/letsencrypt/ resource "azurerm_storage_account" "staticweb" { name = local.staticweb_storage_name resource_group_name = var.resource_group_name location = var.location account_kind ...
AzureTRE/core/terraform/appgateway/staticweb.tf/0
{ "file_path": "AzureTRE/core/terraform/appgateway/staticweb.tf", "repo_id": "AzureTRE", "token_count": 858 }
104
#!/bin/bash set -e echo "# Generated environment variables from tf output" jq -r ' [ { "path": "core_resource_group_name", "env_var": "RESOURCE_GROUP_NAME" }, { "path": "core_resource_group_location", "env_var": "RESOURCE_LOCATION" },...
AzureTRE/core/terraform/json-to-env.sh/0
{ "file_path": "AzureTRE/core/terraform/json-to-env.sh", "repo_id": "AzureTRE", "token_count": 2201 }
105
data "local_file" "version" { filename = "${path.module}/../../../../resource_processor/_version.py" } data "azurerm_subscription" "current" {} data "azurerm_client_config" "current" {} data "template_file" "cloudconfig" { template = file("${path.module}/cloud-config.yaml") vars = { docker_registry_server ...
AzureTRE/core/terraform/resource_processor/vmss_porter/data.tf/0
{ "file_path": "AzureTRE/core/terraform/resource_processor/vmss_porter/data.tf", "repo_id": "AzureTRE", "token_count": 1296 }
106
#!/bin/bash set -euo pipefail # Use this for debug only # set -o xtrace # This script polls looking for an app registration with the given ID. # If after the number of retries no app registration is found, the function exits. function wait_for_new_service_principal() { servicePrincipalId=$1 retries=10 counter=0 ...
AzureTRE/devops/scripts/aad/create_or_update_service_principal.sh/0
{ "file_path": "AzureTRE/devops/scripts/aad/create_or_update_service_principal.sh", "repo_id": "AzureTRE", "token_count": 828 }
107
#!/bin/bash # This script is designed to be `source`d to create reusable helper functions function convert_azure_env_to_arm_env() { azure_environment=$1 declare -A arm_envs=( ["AzureCloud"]="public" ["AzureUSGovernment"]="usgovernment") echo "${arm_envs[${azure_environment}]}" }
AzureTRE/devops/scripts/convert_azure_env_to_arm_env.sh/0
{ "file_path": "AzureTRE/devops/scripts/convert_azure_env_to_arm_env.sh", "repo_id": "AzureTRE", "token_count": 98 }
108
#!/bin/bash set -e # This script adds the client (app) ID and the client secret (app password) of the service principal used for deploying # resources (workspaces and workspace services) to Key Vault. # # Running the script requires that Azure CLI login has been done with the credentials that have privileges to access...
AzureTRE/devops/scripts/set_contributor_sp_secrets.sh/0
{ "file_path": "AzureTRE/devops/scripts/set_contributor_sp_secrets.sh", "repo_id": "AzureTRE", "token_count": 352 }
109
# Airlock In a Trusted Research Environment (TRE) the workspaces represent a security boundary that enables researchers to access data, execute analysis, apply algorithms and collect reports. The airlock capability is the only mechanism that allows users to `import` or `export` data, tools or other file based artefact...
AzureTRE/docs/azure-tre-overview/airlock.md/0
{ "file_path": "AzureTRE/docs/azure-tre-overview/airlock.md", "repo_id": "AzureTRE", "token_count": 3829 }
110
# Deploying Azure TRE You are now ready to deploy the Azure TRE instance. Execute the `all` action of the makefile using `make`: ```bash make all ``` Deploying a new Azure TRE instance takes approximately 30 minutes. Once the deployment is completed, you will be presented with a few output variables similar to the ...
AzureTRE/docs/tre-admins/setup-instructions/manual-deployment.md/0
{ "file_path": "AzureTRE/docs/tre-admins/setup-instructions/manual-deployment.md", "repo_id": "AzureTRE", "token_count": 733 }
111
# TRE Developers This section contains information relevant for developing against Azure TRE. See the topics in the index on the left.
AzureTRE/docs/tre-developers/index.md/0
{ "file_path": "AzureTRE/docs/tre-developers/index.md", "repo_id": "AzureTRE", "token_count": 27 }
112
# Azure Machine Learning Service bundle See: [https://azure.microsoft.com/services/machine-learning/](https://azure.microsoft.com/services/machine-learning/) This service installs the following resources into an existing virtual network within the workspace: ![Azure Machine Learning Service](images/aml_service.png) ...
AzureTRE/docs/tre-templates/workspace-services/azure-ml.md/0
{ "file_path": "AzureTRE/docs/tre-templates/workspace-services/azure-ml.md", "repo_id": "AzureTRE", "token_count": 226 }
113
# Adding Firewall Rules as part of a workspace or service deployment !!! note Creating firewall rules will in the future only be allowed through the firewall shared services [#882](https://github.com/microsoft/AzureTRE/issues/882). A TRE service may require certain firewall rules to be opened in the TRE firewall....
AzureTRE/docs/tre-workspace-authors/firewall-rules.md/0
{ "file_path": "AzureTRE/docs/tre-workspace-authors/firewall-rules.md", "repo_id": "AzureTRE", "token_count": 2094 }
114
# Using the Azure TRE for Research This section contains information relevant on how to conduct research in a TRE workspace.
AzureTRE/docs/using-tre/tre-for-research/index.md/0
{ "file_path": "AzureTRE/docs/using-tre/tre-for-research/index.md", "repo_id": "AzureTRE", "token_count": 25 }
115
import asyncio import logging from httpx import AsyncClient, Timeout from starlette import status from e2e_tests.helpers import assert_status, get_auth_header, get_full_endpoint from e2e_tests.resources.deployment import delete_done, install_done, patch_done from resources import strings LOGGER = logging.getLogger(__...
AzureTRE/e2e_tests/resources/resource.py/0
{ "file_path": "AzureTRE/e2e_tests/resources/resource.py", "repo_id": "AzureTRE", "token_count": 1497 }
116
--- site_name: Azure TRE site_url: https://microsoft.github.io/AzureTRE site_description: Azure TRE site_author: Microsoft repo_url: https://github.com/microsoft/AzureTre/ edit_uri: "" theme: name: material custom_dir: mkdocs-overrides font: text: Roboto code: Roboto Mono palette: scheme: default ...
AzureTRE/mkdocs.yml/0
{ "file_path": "AzureTRE/mkdocs.yml", "repo_id": "AzureTRE", "token_count": 3460 }
117
import os from _version import __version__ from shared.logging import logger, tracer VERSION = __version__ def get_config() -> dict: with tracer.start_as_current_span("get_config"): config = {} config["registry_server"] = os.environ["REGISTRY_SERVER"] config["tfstate_container_name"] = ...
AzureTRE/resource_processor/shared/config.py/0
{ "file_path": "AzureTRE/resource_processor/shared/config.py", "repo_id": "AzureTRE", "token_count": 2038 }
118
{ "schemaType": "ParameterSet", "schemaVersion": "1.0.1", "namespace": "", "name": "tre-shared-service-admin-vm", "parameters": [ { "name": "tre_id", "source": { "env": "TRE_ID" } }, { "name": "id", "source": { "env": "ID" } }, { "n...
AzureTRE/templates/shared_services/admin-vm/parameters.json/0
{ "file_path": "AzureTRE/templates/shared_services/admin-vm/parameters.json", "repo_id": "AzureTRE", "token_count": 512 }
119
{ "version": "2.0", "extensionBundle": { "id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "version": "[1.*, 2.0.0)" } }
AzureTRE/templates/shared_services/airlock_notifier/app/host.json/0
{ "file_path": "AzureTRE/templates/shared_services/airlock_notifier/app/host.json", "repo_id": "AzureTRE", "token_count": 67 }
120
# Local .terraform directories **/.terraform/*
AzureTRE/templates/shared_services/cyclecloud/.dockerignore/0
{ "file_path": "AzureTRE/templates/shared_services/cyclecloud/.dockerignore", "repo_id": "AzureTRE", "token_count": 15 }
121
{ "schemaType": "ParameterSet", "schemaVersion": "1.0.1", "namespace": "", "name": "tre-shared-service-firewall", "parameters": [ { "name": "tre_id", "source": { "env": "TRE_ID" } }, { "name": "id", "source": { "env": "ID" } }, { "n...
AzureTRE/templates/shared_services/firewall/parameters.json/0
{ "file_path": "AzureTRE/templates/shared_services/firewall/parameters.json", "repo_id": "AzureTRE", "token_count": 697 }
122
ARG GITEA_TAG=1.15 ARG CERTIFICATE_URL=https://www.digicert.com/CACerts/BaltimoreCyberTrustRoot.crt.pem FROM gitea/gitea:${GITEA_TAG} # need to pass args to stage ARG CERTIFICATE_URL RUN wget -nv -O /usr/local/share/ca-certificates/mysql.crt.pem ${CERTIFICATE_URL} && update-ca-certificates ENTRYPOINT ["/bin/bash", "-c...
AzureTRE/templates/shared_services/gitea/docker/Dockerfile/0
{ "file_path": "AzureTRE/templates/shared_services/gitea/docker/Dockerfile", "repo_id": "AzureTRE", "token_count": 210 }
123
variable "tre_id" { type = string } variable "tre_resource_id" { type = string description = "Resource ID" } variable "ssl_cert_name" { type = string }
AzureTRE/templates/shared_services/sonatype-nexus-vm/terraform/variables.tf/0
{ "file_path": "AzureTRE/templates/shared_services/sonatype-nexus-vm/terraform/variables.tf", "repo_id": "AzureTRE", "token_count": 66 }
124
resource "azurerm_network_security_group" "aml" { location = data.azurerm_virtual_network.ws.location name = "nsg-aml-${local.short_service_id}" resource_group_name = data.azurerm_virtual_network.ws.resource_group_name tags = local.tre_workspace_service_tags lifecycle...
AzureTRE/templates/workspace_services/azureml/terraform/network.tf/0
{ "file_path": "AzureTRE/templates/workspace_services/azureml/terraform/network.tf", "repo_id": "AzureTRE", "token_count": 6322 }
125
locals { short_user_resource_id = substr(var.tre_resource_id, -4, -1) short_service_id = substr(var.parent_service_id, -4, -1) short_workspace_id = substr(var.workspace_id, -4, -1) workspace_resource_name_suffix = "${var.tre_id}-ws-${local.short_workspace_id}" service_resourc...
AzureTRE/templates/workspace_services/azureml/user_resources/aml_compute/terraform/locals.tf/0
{ "file_path": "AzureTRE/templates/workspace_services/azureml/user_resources/aml_compute/terraform/locals.tf", "repo_id": "AzureTRE", "token_count": 431 }
126
resource "azurerm_network_security_group" "nsg" { name = local.network_security_group_name location = data.azurerm_resource_group.ws.location resource_group_name = data.azurerm_resource_group.ws.name tags = local.tre_workspace_service_tags lifecycle { ignore_changes = [tags] } s...
AzureTRE/templates/workspace_services/databricks/terraform/network.tf/0
{ "file_path": "AzureTRE/templates/workspace_services/databricks/terraform/network.tf", "repo_id": "AzureTRE", "token_count": 3782 }
127