Trinoid commited on
Commit
d569e77
·
verified ·
1 Parent(s): 8d8123a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +76 -75
README.md CHANGED
@@ -1,75 +1,76 @@
1
- ---
2
- language:
3
- - en
4
- tags:
5
- - mistral
6
- - microsoft365
7
- - sharepoint
8
- - data-management
9
- - lora
10
- license: apache-2.0
11
- base_model: mistralai/Mistral-7B-Instruct-v0.2
12
- ---
13
-
14
- # Microsoft 365 Data Management Tuned Mistral Model
15
-
16
- This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) that has been optimized for Microsoft 365 data management tasks.
17
-
18
- ## Model Description
19
-
20
- This model has been fine-tuned using LoRA on Microsoft 365 data management documentation to help users efficiently manage SharePoint, OneDrive, and other Microsoft 365 services.
21
-
22
- ### Training Procedure
23
-
24
- - **Training framework:** 🤗 Transformers and PEFT (LoRA)
25
- - **Base model:** mistralai/Mistral-7B-Instruct-v0.2
26
- - **Training data:** Microsoft 365 data management documentation
27
- - **Hardware used:** Azure ML
28
-
29
- ## Intended Use and Limitations
30
-
31
- This model is intended to be used for Microsoft 365 data management tasks such as:
32
-
33
- - Managing SharePoint document libraries
34
- - Setting up retention policies
35
- - Configuring data loss prevention
36
- - Managing access permissions
37
- - Implementing compliance features
38
-
39
- ## Evaluation Results
40
-
41
- The model provides fast, efficient responses for Microsoft 365 data management tasks with high accuracy and low latency.
42
-
43
- ## Usage
44
-
45
- ```python
46
- from transformers import AutoTokenizer, AutoModelForCausalLM
47
-
48
- model_name = "[YOUR_HF_USERNAME]/microsoft365-mistral"
49
- tokenizer = AutoTokenizer.from_pretrained(model_name)
50
- model = AutoModelForCausalLM.from_pretrained(model_name)
51
-
52
- # For 4-bit quantization (optional)
53
- # from transformers import BitsAndBytesConfig
54
- # quantization_config = BitsAndBytesConfig(load_in_4bit=True)
55
- # model = AutoModelForCausalLM.from_pretrained(model_name, quantization_config=quantization_config)
56
-
57
- prompt = "How do I set up retention policies in SharePoint Online?"
58
- inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
59
-
60
- outputs = model.generate(
61
- inputs.input_ids,
62
- max_new_tokens=500,
63
- do_sample=True,
64
- temperature=0.7,
65
- top_p=0.9
66
- )
67
-
68
- response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
69
- print(response)
70
- ```
71
-
72
- ## Limitations
73
-
74
- - The model's knowledge is limited to Microsoft 365 features and documentation it was trained on
75
- - The model may not be fully up-to-date with the latest Microsoft 365 features released after training
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - text-generation
6
+ - mistral
7
+ - microsoft365
8
+ - sharepoint
9
+ - data-management
10
+ - lora
11
+ license: apache-2.0
12
+ base_model: mistralai/Mistral-7B-Instruct-v0.2
13
+ ---
14
+
15
+ # Microsoft 365 Data Management Tuned Mistral Model
16
+
17
+ This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) that has been optimized for Microsoft 365 data management tasks.
18
+
19
+ ## Model Description
20
+
21
+ This model has been fine-tuned using LoRA on Microsoft 365 data management documentation to help users efficiently manage SharePoint, OneDrive, and other Microsoft 365 services.
22
+
23
+ ### Training Procedure
24
+
25
+ - **Training framework:** 🤗 Transformers and PEFT (LoRA)
26
+ - **Base model:** mistralai/Mistral-7B-Instruct-v0.2
27
+ - **Training data:** Microsoft 365 data management documentation
28
+ - **Hardware used:** Azure ML
29
+
30
+ ## Intended Use and Limitations
31
+
32
+ This model is intended to be used for Microsoft 365 data management tasks such as:
33
+
34
+ - Managing SharePoint document libraries
35
+ - Setting up retention policies
36
+ - Configuring data loss prevention
37
+ - Managing access permissions
38
+ - Implementing compliance features
39
+
40
+ ## Evaluation Results
41
+
42
+ The model provides fast, efficient responses for Microsoft 365 data management tasks with high accuracy and low latency.
43
+
44
+ ## Usage
45
+
46
+ ```python
47
+ from transformers import AutoTokenizer, AutoModelForCausalLM
48
+
49
+ model_name = "[YOUR_HF_USERNAME]/microsoft365-mistral"
50
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
51
+ model = AutoModelForCausalLM.from_pretrained(model_name)
52
+
53
+ # For 4-bit quantization (optional)
54
+ # from transformers import BitsAndBytesConfig
55
+ # quantization_config = BitsAndBytesConfig(load_in_4bit=True)
56
+ # model = AutoModelForCausalLM.from_pretrained(model_name, quantization_config=quantization_config)
57
+
58
+ prompt = "How do I set up retention policies in SharePoint Online?"
59
+ inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
60
+
61
+ outputs = model.generate(
62
+ inputs.input_ids,
63
+ max_new_tokens=500,
64
+ do_sample=True,
65
+ temperature=0.7,
66
+ top_p=0.9
67
+ )
68
+
69
+ response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
70
+ print(response)
71
+ ```
72
+
73
+ ## Limitations
74
+
75
+ - The model's knowledge is limited to Microsoft 365 features and documentation it was trained on
76
+ - The model may not be fully up-to-date with the latest Microsoft 365 features released after training