Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Azure
GitHub Repository: Azure/Azure-Sentinel-Notebooks
Path: blob/master/mitremap-notebook/model.sh
3250 views
1
#!/bin/bash
2
mkdir distilgpt2-512
3
cd distilgpt2-512
4
echo Downloading labels for model distilgpt2-512...
5
curl -L https://github.com/microsoft/msticpy-data/blob/mitre-inference/mitre-inference-models/distilgpt2-512/labels.json?raw=true -o "labels"
6
echo Downloaded labels for model distilgpt2-512.
7
echo Downloading tokenizer for model distilgpt2-512...
8
curl -L https://github.com/microsoft/msticpy-data/blob/mitre-inference/mitre-inference-models/distilgpt2-512/tokenizer?raw=true -o "tokenizer"
9
echo Downloaded tokenizer for model distilgpt2-512.
10
echo Downloading model dicts for model distilgpt2-512...
11
curl -L https://github.com/microsoft/msticpy-data/blob/mitre-inference/mitre-inference-models/distilgpt2-512/model_state_dicts?raw=true -o "model_state_dicts"
12
echo Downloaded model dicts for model distilgpt2-512.
13
14