rtetley commited on
Commit
0a98ec9
Β·
verified Β·
1 Parent(s): 0d80fe9

fix: remove unecessary info from submission form

Browse files
frontend/src/pages/AddModelPage/components/ModelSubmissionForm/ModelSubmissionForm.jsx CHANGED
@@ -286,8 +286,8 @@ function ModelSubmissionForm({ user, isAuthenticated }) {
286
  modelType: "fine-tuned",
287
  isChatModel: false,
288
  useChatTemplate: false,
289
- precision: "float16",
290
- weightsType: "Original",
291
  baseModel: "",
292
  });
293
  const [error, setError] = useState(null);
@@ -618,7 +618,7 @@ function ModelSubmissionForm({ user, isAuthenticated }) {
618
  </FormControl>
619
  </Grid>
620
 
621
- <Grid item xs={12} sm={6}>
622
  <Stack
623
  direction="row"
624
  spacing={2}
@@ -637,9 +637,9 @@ function ModelSubmissionForm({ user, isAuthenticated }) {
637
  />
638
  <InfoIconWithTooltip tooltip={HELP_TEXTS.chatTemplate()} />
639
  </Stack>
640
- </Grid>
641
 
642
- <Grid item xs={12} sm={6}>
643
  <FormControl fullWidth>
644
  <InputLabel>{resolveLocalizedString(INTERNATIONALISATION.FORM.MODEL_CONFIG.PRECISION.LABEL)}</InputLabel>
645
  <Select
@@ -661,9 +661,9 @@ function ModelSubmissionForm({ user, isAuthenticated }) {
661
  ))}
662
  </Select>
663
  </FormControl>
664
- </Grid>
665
 
666
- <Grid item xs={12} sm={6}>
667
  <FormControl fullWidth>
668
  <InputLabel>{resolveLocalizedString(INTERNATIONALISATION.FORM.MODEL_CONFIG.WEIGHTS.LABEL)}</InputLabel>
669
  <Select
@@ -706,7 +706,7 @@ function ModelSubmissionForm({ user, isAuthenticated }) {
706
  }}
707
  />
708
  </Grid>
709
- )}
710
 
711
  {/* Submit Button */}
712
  <Grid item xs={12}>
 
286
  modelType: "fine-tuned",
287
  isChatModel: false,
288
  useChatTemplate: false,
289
+ precision: "",
290
+ weightsType: "",
291
  baseModel: "",
292
  });
293
  const [error, setError] = useState(null);
 
618
  </FormControl>
619
  </Grid>
620
 
621
+ {/* <Grid item xs={12} sm={6}>
622
  <Stack
623
  direction="row"
624
  spacing={2}
 
637
  />
638
  <InfoIconWithTooltip tooltip={HELP_TEXTS.chatTemplate()} />
639
  </Stack>
640
+ </Grid> */}
641
 
642
+ {/* <Grid item xs={12} sm={6}>
643
  <FormControl fullWidth>
644
  <InputLabel>{resolveLocalizedString(INTERNATIONALISATION.FORM.MODEL_CONFIG.PRECISION.LABEL)}</InputLabel>
645
  <Select
 
661
  ))}
662
  </Select>
663
  </FormControl>
664
+ </Grid> */}
665
 
666
+ {/* <Grid item xs={12} sm={6}>
667
  <FormControl fullWidth>
668
  <InputLabel>{resolveLocalizedString(INTERNATIONALISATION.FORM.MODEL_CONFIG.WEIGHTS.LABEL)}</InputLabel>
669
  <Select
 
706
  }}
707
  />
708
  </Grid>
709
+ )} */}
710
 
711
  {/* Submit Button */}
712
  <Grid item xs={12}>